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

Method set_cpu_data

src/openpose/core/arrayCpuGpu.cpp:586–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584
585 template<typename T>
586 void ArrayCpuGpu<T>::set_cpu_data(T* data)
587 {
588 try
589 {
590 #ifdef USE_CAFFE
591 spImpl->pCaffeBlobT->set_cpu_data(data);
592 #else
593 UNUSED(data);
594 #endif
595 }
596 catch (const std::exception& e)
597 {
598 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
599 }
600 }
601
602 template<typename T>
603 const int* ArrayCpuGpu<T>::gpu_shape() const

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected