@@ -64,7 +64,7 @@ For example,
64
64
<dependency >
65
65
<groupId >org.tensorflow</groupId >
66
66
<artifactId >tensorflow-core-platform</artifactId >
67
- <version >0.3.3 </version >
67
+ <version >0.4.1 </version >
68
68
</dependency >
69
69
```
70
70
@@ -107,7 +107,7 @@ snapshots repository in your `pom.xml`.
107
107
<dependency >
108
108
<groupId >org.tensorflow</groupId >
109
109
<artifactId >tensorflow-core-platform</artifactId >
110
- <version >0.4 .0-SNAPSHOT</version >
110
+ <version >0.5 .0-SNAPSHOT</version >
111
111
</dependency >
112
112
</dependencies >
113
113
```
@@ -124,7 +124,7 @@ repositories {
124
124
}
125
125
126
126
dependencies {
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 '
128
128
}
129
129
```
130
130
@@ -170,7 +170,7 @@ add the TensorFlow dependency to the project's `pom.xml` file:
170
170
<dependency >
171
171
<groupId >org.tensorflow</groupId >
172
172
<artifactId >tensorflow-core-platform</artifactId >
173
- <version >0.3.3 </version >
173
+ <version >0.4.1 </version >
174
174
</dependency >
175
175
</dependencies >
176
176
</project >
@@ -195,8 +195,8 @@ public class HelloTensorFlow {
195
195
196
196
try (ConcreteFunction dbl = ConcreteFunction . create(HelloTensorFlow :: dbl);
197
197
TInt32 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());
200
200
}
201
201
}
202
202
0 commit comments