MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Reshape

Method Reshape

rtpose_wrapper/src/caffe/blob.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11template <typename Dtype>
12void Blob<Dtype>::Reshape(const int num, const int channels, const int height,
13 const int width) {
14 vector<int> shape(4);
15 shape[0] = num;
16 shape[1] = channels;
17 shape[2] = height;
18 shape[3] = width;
19 Reshape(shape);
20}
21
22template <typename Dtype>
23void Blob<Dtype>::Reshape(const vector<int>& shape) {

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.45
resizeMethod · 0.45
resetMethod · 0.45
mutable_cpu_dataMethod · 0.45

Tested by

no test coverage detected