Code examples for using TensorFlow for Java?


I wasn’t aware of the availability of TensorFlow for Java, which github repository is available here:

GitHub - tensorflow/java: Java bindings for TensorFlow

This is great news. Is there any good place to find code examples for training, predictions, model building and the likes?

Thank you,

1 Like

We have a small set of example models here: GitHub - tensorflow/java-models: Models in Java

TensorFlow Java doesn’t have access to all of the gradients available in TensorFlow as many are implemented in python, so some models can’t be specified entirely in Java yet, but we’re working to build out the set.