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

Method shape

rtpose_wrapper/include/caffe/blob.hpp:71–73  ·  view source on GitHub ↗

* @brief Returns the dimension of the index-th axis (or the negative index-th * axis from the end, if index is negative). * * @param index the axis index, which may be negative as it will be * "canonicalized" using CanonicalAxisIndex. * Dies on out of range index. */

Source from the content-addressed store, hash-verified

69 * Dies on out of range index.
70 */
71 inline int shape(int index) const {
72 return shape_[CanonicalAxisIndex(index)];
73 }
74 inline int num_axes() const { return shape_.size(); }
75 inline int count() const { return count_; }
76

Callers 15

postcallMethod · 0.80
ReshapeLikeMethod · 0.80
ShapeEqualsMethod · 0.80
CopyFromMethod · 0.80
FromProtoMethod · 0.80
AppendParamMethod · 0.80
ReshapeMethod · 0.80
Forward_cpuMethod · 0.80
ReshapeMethod · 0.80
Forward_cpuMethod · 0.80
TYPED_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 15

TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
caffe_convFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64