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

Method reset

src/openpose/core/array.cpp:283–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282 template<typename T>
283 void Array<T>::reset(const int size)
284 {
285 try
286 {
287 if (size > 0)
288 reset(std::vector<int>{size});
289 else
290 reset(std::vector<int>{});
291 }
292 catch (const std::exception& e)
293 {
294 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
295 }
296 }
297
298 template<typename T>
299 void Array<T>::reset(const std::vector<int>& sizes)

Callers 14

reconstructArrayThreadFunction · 0.45
ArrayCpuGpuMethod · 0.45
createArrayMethod · 0.45
resetAuxiliaryMethod · 0.45
forwardPassMethod · 0.45
Forward_oclMethod · 0.45
Forward_gpuMethod · 0.45
opFromPersonEntriesFunction · 0.45
forwardPassMethod · 0.45

Calls 4

resetFunction · 0.85
whatMethod · 0.80
errorFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected