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

Method shape_string

rtpose_wrapper/include/caffe/blob.hpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 void Reshape(const BlobShape& shape);
53 void ReshapeLike(const Blob& other);
54 inline string shape_string() const {
55 ostringstream stream;
56 for (int i = 0; i < shape_.size(); ++i) {
57 stream << shape_[i] << " ";
58 }
59 stream << "(" << count_ << ")";
60 return stream.str();
61 }
62 inline const vector<int>& shape() const { return shape_; }
63 /**
64 * @brief Returns the dimension of the index-th axis (or the negative index-th

Callers 6

InitMethod · 0.80
AppendParamMethod · 0.80
CopyTrainedLayersFromMethod · 0.80
LayerSetUpMethod · 0.80
ReshapeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected