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

Method sumsq_data

src/openpose/core/arrayCpuGpu.cpp:821–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819
820 template<typename T>
821 T ArrayCpuGpu<T>::sumsq_data() const
822 {
823 try
824 {
825 #ifdef USE_CAFFE
826 return spImpl->pCaffeBlobT->sumsq_data();
827 #else
828 return T{0};
829 #endif
830 }
831 catch (const std::exception& e)
832 {
833 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
834 return T{0};
835 }
836 }
837
838 template<typename T>
839 T ArrayCpuGpu<T>::sumsq_diff() const

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected