AICANN Kit(CANN异构计算框架服务)AscendC算子开发AscendC算子接口基础数据结构和接口ge命名空间TensorDescSetOriginShape本页总览SetOriginShape 函数功能 向TensorDesc中设置Tensor的原始Shape。 该Shape是指原始网络模型的Shape。 函数原型 void SetOriginShape(const Shape &originShape); 参数说明 参数名输入/输出描述originShape输入向TensorDesc设置原始的originShape对象。 返回值 无 异常处理 无 约束说明 无