i.MX 8M Plus EVK; NPU example code

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

i.MX 8M Plus EVK; NPU example code

461 Views
colinbroderick
Contributor III

I was reading the application note AN12964 PDF, entitled i.MX 8M Plus NPU Warmup Time, and it mentioned some C++ sample code "attached to this application note". However there is no such sample code attached.

Can anyone tell me where to find any C++ NPU sample code. Ideally for running ONNX models on the NPU, but anything you have will be helpful.

Thanks

0 Kudos
1 Reply

453 Views
colinbroderick
Contributor III

Found some sample code but now having trouble compiling it. Can anyone lead to me to any resources on how the include directories should be specified for yocto in general, or specifically an include path for onnxruntime_c_api.h. Should it be specified in CMakeLists, or in the recipe file?

Thanks

0 Kudos