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

Method num

src/openpose/core/arrayCpuGpu.cpp:354–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352
353 template<typename T>
354 int ArrayCpuGpu<T>::num() const
355 {
356 try
357 {
358 #ifdef USE_CAFFE
359 return spImpl->pCaffeBlobT->num();
360 #else
361 return -1;
362 #endif
363 }
364 catch (const std::exception& e)
365 {
366 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
367 return -1;
368 }
369 }
370
371 template<typename T>
372 int ArrayCpuGpu<T>::channels() const

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected