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