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

Method Array

src/openpose/core/array.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86 template<typename T>
87 Array<T>::Array(const int size)
88 {
89 try
90 {
91 reset(size);
92 }
93 catch (const std::exception& e)
94 {
95 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
96 }
97 }
98
99 template<typename T>
100 Array<T>::Array(const std::vector<int>& sizes)

Callers

nothing calls this directly

Calls 7

resetFunction · 0.85
copyFunction · 0.85
whatMethod · 0.80
getPseudoConstPtrMethod · 0.80
errorFunction · 0.50
getSizeMethod · 0.45
getVolumeMethod · 0.45

Tested by

no test coverage detected