Profiling出现format为NHWC的算子性能较低
2023/06/06
108
问题信息
问题来源 | 产品大类 | 关键字 |
---|---|---|
官方 | 算子开发 | -- |
问题现象描述
图1 Profiling数据

图2 耗时对比

Profiling数据中出现format为NHWC的算子,且性能较低。
解决措施
NPU主要支持format为NCHW的算子,当format为NHWC时,需修改算子的format为NCHW以提升性能。
本页内容
Profiling出现format为NHWC的算子性能较低
2023/06/06
108
问题信息
问题来源 | 产品大类 | 关键字 |
---|---|---|
官方 | 算子开发 | -- |
Profiling数据中出现format为NHWC的算子,且性能较低。
NPU主要支持format为NCHW的算子,当format为NHWC时,需修改算子的format为NCHW以提升性能。
本页内容