SetDataType

Description

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

Troubleshooting

None

Constraints

None