GetModelTensorsShape
Function Usage
A protected member function that is invoked by Init() to obtain the input and output tensor shapes of a model. It is invoked for internal use only. Do not use it.
Prototype
APP_ERROR GetModelTensorsShape(MxBase::ModelDesc modelDesc);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
modelDesc |
Input |
Model basic information structure |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: MxpiModelPostProcessorBase