GetInputTensorDataType

Function Usage

Obtains the data type of the input tensor.

Prototype

1
MxBase::TensorDType Model::GetInputTensorDataType(uint32_t index = 0);

Parameters

Parameter

Input/Output

Description

index

Input

Index of the model input (the indexth input).

Response Parameters

Data Structure

Description

MxBase::TensorDType

Tensor data type. For details, see TensorDType.