nnapi enabled tflite on i.mx8m nano results negative performance gain

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

nnapi enabled tflite on i.mx8m nano results negative performance gain

423件の閲覧回数
Zack_Mak
Contributor I

Hi,

I am testing the imx8mnddr4evk for tflite GPU acceleration.

As I know the i.MX8 nano uses NNAPI for GPU acceleration in tflite. However, in my test setup, the tflite shows negative performance gain when nnapi is enabled for tflite.

I also get the same observation when I run the tflite sample program (label_image) in NXP stock FW images.

The attached log file shows the sample code results from stock FW image version L5.4.47-2.2.0 imx-image-full-imx8mnevk. I ran the sample program right after flashing the FW image without any modifications.

Would you please verify my finding and advise if I have miss something?

Thank you very much.

ラベル(1)
0 件の賞賛
返信
1 返信

388件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

refer to your log file, when disable nnapi:

0.780392: 653 military uniform

enalbe nnapi:

0.784314: 653 military uniform

Python code, NNAPI enabled:

0.670588: military uniform

it seems the performance improved when you enable NNAPI, what negative performance do you mean?

0 件の賞賛
返信