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

Method mutable_cpu_data

src/openpose/core/arrayCpuGpu.cpp:696–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694
695 template<typename T>
696 T* ArrayCpuGpu<T>::mutable_cpu_data()
697 {
698 try
699 {
700 #ifdef USE_CAFFE
701 return spImpl->pCaffeBlobT->mutable_cpu_data();
702 #else
703 return nullptr;
704 #endif
705 }
706 catch (const std::exception& e)
707 {
708 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
709 return nullptr;
710 }
711 }
712
713 template<typename T>
714 T* ArrayCpuGpu<T>::mutable_gpu_data()

Callers 7

ArrayCpuGpuMethod · 0.80
forwardPassMethod · 0.80
Forward_cpuMethod · 0.80
Forward_cpuMethod · 0.80
Forward_cpuMethod · 0.80
forwardPassMethod · 0.80
detectHandKeypointsFunction · 0.80

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected