GetOriginalFormat
函数功能
获取aclTensor的OriginFormat。
OriginFormat一般表示aclTensor在经历transdata节点前(如果存在该节点)的原始Format信息。
函数原型
op::Format GetOriginalFormat()
参数说明
无
约束说明
无
调用示例
1 2 3 |
void Func(const aclTensor *input) { auto format = input->GetOriginalFormat(); } |
父主题: common_types