目录

GetDataType

Function Description

Obtains the data type of a tensor.

Function Prototype

ge::DataType GetDataType() const;

Parameters

None

Return Value

Type Description
ge:: DataType Returns the data type of the tensor. The default value is DT_UNDEFINED.

Exception Handling

None

Restrictions

None