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

Method scale_diff

src/openpose/core/arrayCpuGpu.cpp:874–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872
873 template<typename T>
874 void ArrayCpuGpu<T>::scale_diff(const T scale_factor)
875 {
876 try
877 {
878 #ifdef USE_CAFFE
879 spImpl->pCaffeBlobT->scale_diff(scale_factor);
880 #else
881 UNUSED(scale_factor);
882 #endif
883 }
884 catch (const std::exception& e)
885 {
886 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
887 }
888 }
889
890 COMPILE_TEMPLATE_FLOATING_INT_TYPES_CLASS(ArrayCpuGpu);
891}

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected