How to use the npu on mcxn947

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use the npu on mcxn947

Jump to solution
663 Views
TomC818
Contributor III

I would like to try to deploy model beside from the computer visions ones shown from the demo in application hub.
I would like to know how the npu is being declared or used in the demo codes. The demo codes don't seems to directly interact with the npu. Are there any APIs or function to utilize the on-chip npu? Or is the npu automatically managed?

Labels (1)
0 Kudos
Reply
1 Solution
610 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @TomC818 

You're correct that in the MCXN947 demos, the NPU is not typically accessed through direct API calls in the application code. Instead, the NPU is automatically invoked by the TensorFlow Lite for Microcontrollers runtime.

You can refer to the dm-multiple-person-detection-on-mcxn947 demo.

BR

Harry

View solution in original post

1 Reply
611 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @TomC818 

You're correct that in the MCXN947 demos, the NPU is not typically accessed through direct API calls in the application code. Instead, the NPU is automatically invoked by the TensorFlow Lite for Microcontrollers runtime.

You can refer to the dm-multiple-person-detection-on-mcxn947 demo.

BR

Harry