SetOutputTensorShapes

Function Usage

Sets the shape of the output tensor.

Prototype

1
void MxpiModelPostProcessorBase::SetOutputTensorShapes(const std::vector<MxBase::TensorDesc>& outputTensors);

Parameters

Parameter

Input/Output

Description

outputTensors

Input

Shape set of the output tensor.