Skip to content

Commit

Permalink
Update install instructions for 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
karllessard authored Mar 29, 2022
1 parent c00e84e commit 5596276
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ For example,
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-platform</artifactId>
<version>0.3.3</version>
<version>0.4.1</version>
</dependency>
```

Expand Down Expand Up @@ -107,7 +107,7 @@ snapshots repository in your `pom.xml`.
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-platform</artifactId>
<version>0.4.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</dependency>
</dependencies>
```
Expand All @@ -124,7 +124,7 @@ repositories {
}
dependencies {
compile group: 'org.tensorflow', name: 'tensorflow-core-platform', version: '0.3.3'
compile group: 'org.tensorflow', name: 'tensorflow-core-platform', version: '0.4.1'
}
```

Expand Down Expand Up @@ -170,7 +170,7 @@ add the TensorFlow dependency to the project's `pom.xml` file:
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-platform</artifactId>
<version>0.3.3</version>
<version>0.4.1</version>
</dependency>
</dependencies>
</project>
Expand All @@ -195,8 +195,8 @@ public class HelloTensorFlow {

try (ConcreteFunction dbl = ConcreteFunction.create(HelloTensorFlow::dbl);
TInt32 x = TInt32.scalarOf(10);
Tensor dblX = dbl.call(x)) {
System.out.println(x.getInt() + " doubled is " + ((TInt32)dblX).getInt());
TInt32 dblX = (TInt32)dbl.call(x)) {
System.out.println(x.getInt() + " doubled is " + dblX.getInt());
}
}

Expand Down

0 comments on commit 5596276

Please sign in to comment.