Tensorflow Lite GPU acceleration - does it work for all OS versions or only for 8.1?

戏子无情 提交于 2020-01-05 03:58:08

问题


Does Tensorflow Lite GPU acceleration work for all Android APIs or only for 8.1 (and mb only for specific devices like Nexus with specific chip)?

Does framework require any settings to activate GPU acceleration (in Java/Kotlin) or does it automatically choose between CPU/GPU and just CPU

There some official tensorflow examples and I see that minimal version for lite example is 15 API


回答1:


As I found at the moment gpu is used only on android 8.1, when the use_nnapi flag is set in the tflite interpreter



来源:https://stackoverflow.com/questions/52603302/tensorflow-lite-gpu-acceleration-does-it-work-for-all-os-versions-or-only-for

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!