How to specify VsiNpu as Computational Backend for a custom built C/C++ application on NXP i.MX8

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

How to specify VsiNpu as Computational Backend for a custom built C/C++ application on NXP i.MX8

1,690件の閲覧回数
Divya17
Contributor I

Hi, 

     I am trying to execute a custom built C++ application using ARMNN on i.MX8. How to specify it to use VsiNpu as the backend for Computation. Currently it works with CpuAcc Backend where this is specified when creating the context for a specific compute device.

Thanks & Regards,

Divya

     

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

1,407件の閲覧回数
mbrundler
Contributor II

Hi,

It seems you choose the backend like this (for VsiNpu) before loading the network :

armnn::IOptimizedNetworkPtr optNet = armnn::Optimize(*network, {armnn::Compute::VsiNpu}, runtime->GetDeviceSpec());

Regards

 

0 件の賞賛