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