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

Method cpu_diff

src/openpose/core/arrayCpuGpu.cpp:659–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657
658 template<typename T>
659 const T* ArrayCpuGpu<T>::cpu_diff() const
660 {
661 try
662 {
663 #ifdef USE_CAFFE
664 return spImpl->pCaffeBlobT->cpu_diff();
665 #else
666 return nullptr;
667 #endif
668 }
669 catch (const std::exception& e)
670 {
671 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
672 return nullptr;
673 }
674 }
675
676 template<typename T>
677 const T* ArrayCpuGpu<T>::gpu_diff() const

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected