GetModelTensorsShape

Function Usage

A protected member function that is invoked by Init() to obtain the input and output tensor shapes of a model.

Prototype

1
APP_ERROR ModelPostProcessorBase::GetModelTensorsShape(MxBase::ModelDesc modelDesc);

Parameters

Parameter

Input/Output

Description

modelDesc

Input

Model basic information structure.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.