SetPoolSize

Function Usage

Sets the shape of the post-processing input tensor to that of the model output tensor. It is for internal use only.

Prototype

APP_ERROR SetPoolSize(const std::vector<std::vector<int>>& outputTensorShapes);

Parameter Description

Parameter

Input/Output

Description

outputTensorShapes

Input

Model output tensor shape

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.