[英]Tensorflow 2.x Java Bindings
I am reading this doc - https://www.tensorflow.org/api_docs/java/reference/org/tensorflow/package-summary我正在阅读这个文档 - https://www.tensorflow.org/api_docs/java/reference/org/tensorflow/package-summary
This page tells for TF 2.1.0 java binding is available, however when i check https://mvnrepository.com/artifact/org.tensorflow where can i find TF 2.1.0 java library? This page tells for TF 2.1.0 java binding is available, however when i check https://mvnrepository.com/artifact/org.tensorflow where can i find TF 2.1.0 java library?
The TF 2.x artifacts are still in development but available as snapshots artifacts and issued from this new repository . TF 2.x 工件仍在开发中,但可用作快照工件并从这个新存储库发布。
The API is close to TF 1.x but contains a few breaking changes too. API 接近 TF 1.x,但也包含一些重大更改。 As described in the README page of this repository, you can retrieve the artifacts by adding this to your dependencies:如此存储库的 README 页面中所述,您可以通过将其添加到您的依赖项来检索工件:
For maven:对于 maven:
<repositories>
<repository>
<id>tensorflow-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<!-- Example of dependency, see README.md for more options -->
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-platform</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
</dependencies>
Note that the version of the new TensorFlow for Java does not follow the version of TensorFlow itself, as it have a different release cycle.请注意,Java 的新版本 TensorFlow 不遵循 TensorFlow 本身的版本,因为它具有不同的发布周期。 Currently, the snapshots are based on version TF2.2.0rc1.目前,快照基于版本 TF2.2.0rc1。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.