Here are a few options to call TensorFlow from Java:

1) load and call the graph directly from Java using TensorFlow’s Java API:

2) make a JNI call from Java into the TensorFlow Serving’s C++ library

3) make a gRPC call from Java to a running TensorFlow Serving process:

Did this answer your question?