MCPcopy Create free account
hub / github.com/ARM-software/armnn / SetShape

Method SetShape

include/armnn/Tensor.hpp:195–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 const TensorShape& GetShape() const { return m_Shape; }
194 TensorShape& GetShape() { return m_Shape; }
195 void SetShape(const TensorShape& newShape) { m_Shape = newShape; }
196
197 unsigned int GetNumDimensions() const { return m_Shape.GetNumDimensions(); }
198 unsigned int GetNumElements() const { return m_Shape.GetNumElements(); }

Callers 15

VisitUnpackOperatorFunction · 0.80
VisitExpandDimsOperatorFunction · 0.80
VisitUnpackOperatorFunction · 0.80
VisitExpandDimsOperatorFunction · 0.80
ExpandTensorRankToEqualFunction · 0.80
OutputShapeOfSqueezeFunction · 0.80
ParseConstantMethod · 0.80
OutputShapeOfReshapeMethod · 0.80

Calls

no outgoing calls