设置Tensor的Datatype。
graphStatus SetDataType(const ge::DataType &dtype);
参数名
输入/输出
描述
dtype
输入
需设置的DataType值。
关于DataType类型,请参见DataType。
类型
-
graphStatus
设置成功返回GRAPH_SUCCESS,否则,返回GRAPH_FAILED。
无。