GetInputTensorDataType
Function Usage
Obtains the data type of the input tensor.
Prototype
MxBase::TensorDType GetInputTensorDataType(uint32_t index = 0)
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the model input (the indexth input) |
Return Parameter Description
Data Structure |
Description |
|---|---|
MxBase::TensorDType |
Tensor data type. For details, see TensorDType. |
Parent topic: Model