Updated on 2022-03-13 GMT+08:00

SetDataType

Function Prototype

void SetDataType(DataType dt);

Function Description

Sets the data type of a tensor described by TensorDesc

Parameter Description

Parameter

Input/Output

Type

Description

dt

Input

DataType

dt information to be set

For details, see DataType.

Return Value

None

Exception Handling

None

Restriction

None