NPU 性能介绍

优质
小牛编辑
130浏览
2023-12-01
  • NPU 200M,SNPU 120M, npu_compiler 1.0.14 版本下测试

  • ASR模型 (FC320 LSTM400 LSTM400 LSTM400 LSTM400 FC211)

时间内存大小
NPU2.4ms2.7M
SNPU5.8ms3.4M
  • Lenet5 (1x28x28 -> Conv2D 5x5x1x32卷积核 -> Relu -> MaxPool -> Conv2D 5x5x32x64卷积核 -> Relu -> MaxPool -> FC 3136x1024权重 -> FC 1024x10权重)
时间内存大小
NPU7.4ms4.6M
SNPU13.6ms4.8M
  • AlexNet (3x112x112 -> Conv2D 11x11x1x64卷积核 -> Relu -> MaxPool -> Conv2D 5x5x64x192卷积核 -> Relu -> MaxPool -> Conv2D 3x3x192x384卷积核 -> Relu -> Conv2D 3x3x384x384卷积核 -> Relu -> Conv2D 3x3x384x256卷积核 -> Relu -> MaxPool)
时间内存大小
NPU221ms35.1M
SNPU359ms36.1M
  • MobileNet V2 (模型结构如下)

时间内存大小
NPU502ms36.7M
SNPU1019ms38.1M