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

Method scale_data

src/openpose/core/arrayCpuGpu.cpp:857–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855
856 template<typename T>
857 void ArrayCpuGpu<T>::scale_data(const T scale_factor)
858 {
859 try
860 {
861 #ifdef USE_CAFFE
862 spImpl->pCaffeBlobT->scale_data(scale_factor);
863 #else
864 UNUSED(scale_factor);
865 #endif
866 }
867 catch (const std::exception& e)
868 {
869 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
870 }
871 }
872
873 template<typename T>
874 void ArrayCpuGpu<T>::scale_diff(const T scale_factor)

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected