TensorFlow HVX 加速支持 [英] TensorFlow HVX Acceleration support

查看:35
本文介绍了TensorFlow HVX 加速支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从 https://https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx 成功构建并运行了测试应用程序github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx.我现在想针对 https:/的 CPU 实现对 HVX 进行基准测试/github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/benchmark,如果可能,还有 Android 相机演示,看看它有多大帮助,但我找不到任何文档描述如何构建具有 HVX 支持的应用程序(我的构建在 CPU 上运行).我正在使用 Android 7.0 的 Open-Q 820 开发板上进行测试.

I successfully built and ran the test application from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx. I'd now like to benchmark HVX against the CPU implementation of https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/benchmark, and if possible, the Android camera demo, to see how much it would help, but I wasn't able to find any documentation describing how to build said apps with HVX support (my builds run on the CPU). I'm testing on the Open-Q 820 development board with Android 7.0.

是否在 HVX 测试应用程序之外使用 HVX 加速,最好使用基准测试,也许还支持 Android 相机演示?如果是这样,有人可以指出我正确的方向吗?谢谢!

Is utilizing HVX acceleration outside the HVX test application, preferably with the benchmark and maybe the Android camera demos supported yet? If so, could someone please point me in the right direction? Thanks!

推荐答案

目前,Android 演示应用程序不支持 HVX 运行时.但是我确信您可以通过将 .so 文件替换为 HVX 版本来将运行时与 Android 演示应用程序一起使用.如果您可以等待官方支持,那很快就会发生,但没有承诺.如果您有任何问题,请告诉我 :)

Currently, the Android demo app does not support the HVX runtime. But I'm sure that you can use the runtime with Android demo app by replacing .so file with HVX version. If you can wait for the official support, that would be happening soon, but no promise. Let me know if you have any questions :)

这篇关于TensorFlow HVX 加速支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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