Tensorflow Lite GPU 加速 - 它适用于所有操作系统版本还是仅适用于 8.1? [英] Tensorflow Lite GPU acceleration - does it work for all OS versions or only for 8.1?

查看:50
本文介绍了Tensorflow Lite GPU 加速 - 它适用于所有操作系统版本还是仅适用于 8.1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Tensorflow Lite GPU 加速是适用于所有 Android API 还是仅适用于 8.1(而 mb 仅适用于具有特定芯片的 Nexus 等特定设备)?

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)?

框架是否需要任何设置来激活 GPU 加速(在 Java/Kotlin 中)或它是否自动在 CPU/GPU 和 CPU 之间进行选择

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

有一些官方的 tensorflow 示例,我看到 lite 示例的最小版本是 15 API

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

推荐答案

我发现目前 gpu 仅在 android 8.1 上使用,当在 tflite 解释器中设置了 use_nnapi 标志时

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

这篇关于Tensorflow Lite GPU 加速 - 它适用于所有操作系统版本还是仅适用于 8.1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆