基于Timeline的AI CPU算子优化

AI CPU算子优化功能识别并输出以下串行阻塞AI CORE运行的AI CPU算子:

图1 AICPUModel

优化建议

  1. Modify the model code to avoid AI CPU operator operations.

    修改代码,避免出现AI CPU算子计算。

  2. Fuse AI CPU operators to reduce frequent switchover between AI CPU and AI Core operators.

    融合部分AI CPU算子。

  3. Change the mode structure, for example, from INT64 to FP16.

    更改模型结构,如:INT64转FP16。

  4. Optimize the performance of time-consuming AI CPU operators.

    AI CPU算子本身性能优化。