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

Method sumsq_diff

src/openpose/core/arrayCpuGpu.cpp:839–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837
838 template<typename T>
839 T ArrayCpuGpu<T>::sumsq_diff() const
840 {
841 try
842 {
843 #ifdef USE_CAFFE
844 return spImpl->pCaffeBlobT->sumsq_diff();
845 #else
846 return T{0};
847 #endif
848 }
849 catch (const std::exception& e)
850 {
851 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
852 return T{0};
853 }
854 }
855
856 template<typename T>
857 void ArrayCpuGpu<T>::scale_data(const T scale_factor)

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected