设置Tensor的描述符(TensorDesc)。
1
graphStatus SetTensorDesc(const TensorDesc &tensor_desc)
参数名
输入/输出
描述
tensor_desc
输入
需设置的Tensor描述符。
graphStatus类型:设置成功返回GRAPH_SUCCESS,否则,返回GRAPH_FAILED。
无。