SetDataType
Function Usage
Sets the data type of a tensor into TensorDesc.
Prototype
1 | void SetDataType(DataType dt) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dt |
Input |
Data type of the tensor to be set. For details about data types, see DataType. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: TensorDesc