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

Function UpdateConstantTensorOutputs

delegate/common/src/DelegateUtils.hpp:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void UpdateConstantTensorOutputs(const armnn::TensorInfo& inputInfo, armnn::TensorInfo& outputInfo)
184{
185 // If input tensor info is constant and output tensor info shape is not specified
186 // set the output shape from input shape
187 if (inputInfo.IsConstant() && outputInfo.GetShape().GetDimensionality() == armnn::Dimensionality::NotSpecified)
188 {
189 outputInfo.SetShape(inputInfo.GetShape());
190 }
191}
192
193void SetupConcatViewOrigin(const armnn::TensorInfo& inputTensorInfo,
194 armnn::OriginsDescriptor& concatDescriptor,

Callers 2

VisitDequantizeOperatorFunction · 0.85
VisitDequantizeOperatorFunction · 0.85

Calls 4

IsConstantMethod · 0.80
GetDimensionalityMethod · 0.80
SetShapeMethod · 0.80
GetShapeMethod · 0.45

Tested by

no test coverage detected