Windows中的Tensorflow Java API
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Windows中的Tensorflow Java API,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1421字,纯文字阅读大概需要3分钟。
内容图文
![Windows中的Tensorflow Java API](/upload/InfoBanner/zyjiaocheng/947/17b552df2cae48fab9d76cace5c3d106.jpg)
我试图在Windows中为Java配置Tensorflow API.
据阅读我
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/README.md
它说我们必须构建本机库,将需要从Windows的源代码构建.但是它没有详细的说明.
任何人都有运气可以编译它吗?
有什么我可以遵循的步骤吗?
解决方法:
从官方的website:
We don’t officially support building TensorFlow on Windows; however,
you may try to build TensorFlow on Windows if you don’t mind using the
highly experimental Bazel on Windows or TensorFlow CMake build.
此外,还有一个相关的github问题:https://github.com/tensorflow/tensorflow/issues/17,其中一位用户rongjiecomputer提到了该问题(2016年9月):
Tensorflow requires Bazel to build from source, If I am not mistaken,
Bazel is a build system like GNU Make, but not a compiler.Based on what I saw as I briefly scanned through the code, source code
of Tensorflow itself uses mostly standard C++ library for things like
threading so it should be no problem to compile on Windows, essential
third-party libraries it uses all have Windows support.Therefore, I think the main problem lies on lack of build method for
Windows rather than source code itself. There are works on using CMake
to build instead of Bazel but not complete yet. If someone can
translate Bazel build rules to CMake’s, I think we will be able to
build it on Windows.
因此,我假设,如果Bazel Windows能够正常运行,您可以按照与在其他使用Bazel的平台上进行构建相同的步骤进行操作.我还没有亲自尝试过.
内容总结
以上是互联网集市为您收集整理的Windows中的Tensorflow Java API全部内容,希望文章能够帮你解决Windows中的Tensorflow Java API所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。