Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5596276

Browse files
authoredMar 29, 2022
Update install instructions for 0.4.1
1 parent c00e84e commit 5596276

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎docs/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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
126126
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'
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

196196
try (ConcreteFunction dbl = ConcreteFunction.create(HelloTensorFlow::dbl);
197197
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());
200200
}
201201
}
202202

0 commit comments

Comments
 (0)
Please sign in to comment.