MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / dimensions_count

Method dimensions_count

tensorflow/lite/toco/model.h:343–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 const std::vector<int>& dims() const { return dims_; }
342 std::vector<int>* mutable_dims() { return &dims_; }
343 const int dimensions_count() const { return dims_.size(); }
344
345 // We still have that one convenience accessor to avoid
346 // the awkward double bracket issue: shape.dims()[i].

Callers 15

GetArrayLabelFunction · 0.80
LogArrayFunction · 0.80
ExtendShapeFunction · 0.80
UnextendShapeFunction · 0.80
IsNonEmptyFunction · 0.80
ShapesAgreeUpToExtendingFunction · 0.80
ResolveModelFlagsFunction · 0.80
ShapeToStringFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected