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

Method num_axes

src/openpose/core/arrayCpuGpu.cpp:260–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259 template<typename T>
260 int ArrayCpuGpu<T>::num_axes() const
261 {
262 try
263 {
264 #ifdef USE_CAFFE
265 return spImpl->pCaffeBlobT->num_axes();
266 #else
267 return -1;
268 #endif
269 }
270 catch (const std::exception& e)
271 {
272 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
273 return -1;
274 }
275 }
276
277 template<typename T>
278 int ArrayCpuGpu<T>::count() const

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected