GetOutputTensorDataType

Function Usage

Obtains the data type of the output tensor.

Prototype

MxBase::TensorDType GetOutputTensorDataType(uint32_t index = 0)

Parameter Description

Parameter

Input/Output

Description

index

Input

Index of the model output (the indexth output)

Return Parameter Description

Data Structure

Description

MxBase::TensorDType

Tensor data type. For details, see TensorDType.