MCPcopy Create free account
hub / github.com/OAID/Tengine / Shape

Method Shape

core/include/tensor_shape.hpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 int Shape(unsigned int idx) const
81 {
82 if(idx < dim_.size())
83 return dim_[idx];
84
85 return 1;
86 }
87
88 bool SetShape(unsigned int idx, int val)
89 {

Callers 15

InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
Weight_BnFunction · 0.80
PrerunMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected