@@ -64,7 +64,7 @@ For example,
6464<dependency >
6565 <groupId >org.tensorflow</groupId >
6666 <artifactId >tensorflow-core-platform</artifactId >
67- <version >0.3.3 </version >
67+ <version >0.4.1 </version >
6868</dependency >
6969```
7070
@@ -107,7 +107,7 @@ snapshots repository in your `pom.xml`.
107107 <dependency >
108108 <groupId >org.tensorflow</groupId >
109109 <artifactId >tensorflow-core-platform</artifactId >
110- <version >0.4 .0-SNAPSHOT</version >
110+ <version >0.5 .0-SNAPSHOT</version >
111111 </dependency >
112112</dependencies >
113113```
@@ -124,7 +124,7 @@ repositories{
124124}
125125
126126dependencies{
127- compile group: 'org.tensorflow', name: 'tensorflow-core-platform', version: '0.3.3 '
127+ compile group: 'org.tensorflow', name: 'tensorflow-core-platform', version: '0.4.1 '
128128}
129129```
130130
@@ -170,7 +170,7 @@ add the TensorFlow dependency to the project's `pom.xml` file:
170170 <dependency >
171171 <groupId >org.tensorflow</groupId >
172172 <artifactId >tensorflow-core-platform</artifactId >
173- <version >0.3.3 </version >
173+ <version >0.4.1 </version >
174174 </dependency >
175175 </dependencies >
176176</project >
@@ -195,8 +195,8 @@ public class HelloTensorFlow{
195195
196196try (ConcreteFunction dbl = ConcreteFunction . create(HelloTensorFlow :: dbl);
197197TInt32 x = TInt32 . scalarOf(10 );
198- Tensor dblX = dbl. call(x)){
199- System . out. println(x. getInt() + " doubled is " + (( TInt32 ) dblX) . getInt());
198+ TInt32 dblX = ( TInt32 ) dbl. call(x)){
199+ System . out. println(x. getInt() + " doubled is " + dblX. getInt());
200200 }
201201 }
202202
0 commit comments