Profiling出现format为NHWC的算子性能较低

问题描述

图1 Profiling数据
图2 耗时对比

Profiling数据中出现format为NHWC的算子,且性能较低。

处理方法

NPU主要支持format为NCHW的算子,当format为NHWC时,需修改算子的format为NCHW以提升性能。