GetInputFormat

Function Usage

Obtains the input data format (NHWC or NCHW).

Prototype

1
MxBase::VisionDataFormat Model::GetInputFormat();

Response Parameters

Data Structure

Description

MxBase::VisionDataFormat

Model input data format. For details, see VisionDataFormat.