How to invoke a trained TensorFlow model from Java programs
Lakshmanan V
9011

Great tutorial. I’d like to open a discussion about integrating Tensor models into Android devices.

As I know google released TensorFlow Lite which provides an ability to load and teach models. The way it does it is by providing a .so file(C++ lib) that wraps the the TensorFlow C++ SDK and a class TensorFlowInferenceInterface which wraps JNI calls to 2 classes APIs — Graph and Session.

It means that in order to use the above samples one need to check if the TensorFlowInferenceInterface contains the APIs and if it does, but maybe in a different names or constellation — to rewrite them.

It’d be great if someone could share here how he manage to import this samples to Android.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.