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

2,096 次查看
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,813 次查看
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 项奖励