跳到主要内容

SetOriginShape

函数功能​

向TensorDesc中设置Tensor的原始Shape。

该Shape是指原始网络模型的Shape。

函数原型​

void SetOriginShape(const Shape &originShape);

参数说明​

参数名输入/输出描述
originShape输入向TensorDesc设置原始的originShape对象。

返回值​

无

异常处理​

无

约束说明​

无