MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / mutable_cpu_diff

Method mutable_cpu_diff

src/openpose/core/arrayCpuGpu.cpp:733–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731
732 template<typename T>
733 T* ArrayCpuGpu<T>::mutable_cpu_diff()
734 {
735 try
736 {
737 #ifdef USE_CAFFE
738 return spImpl->pCaffeBlobT->mutable_cpu_diff();
739 #else
740 return nullptr;
741 #endif
742 }
743 catch (const std::exception& e)
744 {
745 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
746 return nullptr;
747 }
748 }
749
750 template<typename T>
751 T* ArrayCpuGpu<T>::mutable_gpu_diff()

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected