SetDataType

Description

Sets the data type of a tensor into TensorDesc.

Prototype

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

Restrictions

None