GetStorageFormat
功能说明
获取aclTensor的StorageFormat。
StorageFormat表示aclTensor在内存中的排布格式,例如NCHW、ND等。
函数原型
op::Format GetStorageFormat()
参数说明
无
约束说明
无
调用示例
          1 2 3  | 
         
          void Func(const aclTensor *input) { auto format = input->GetStorageFormat(); }  | 
        
     父主题: common_types