tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/TensorFlowLite.html
public final class TensorFlowLite
Static utility methods for loading the TensorFlowLite runtime and native code.
| static void | init() Ensure the TensorFlowLite native library has been loaded.
| | static String | runtimeVersion() Returns the version of the default TensorFlowLite runtime.
| | static String | runtimeVersion(InterpreterApi.Options.TfLiteRuntime runtime) Returns the version of the specified TensorFlowLite runtime.
| | static String | schemaVersion() Returns the version of the TensorFlowLite model schema that is supported by the default TensorFlowLite runtime.
| | static String | schemaVersion(InterpreterApi.Options.TfLiteRuntime runtime) Returns the version of the TensorFlowLite model schema that is supported by the specified TensorFlowLite runtime.
|
| static String |
version()
This method is deprecated. Prefer using or #schemaVersion().
|
From class java.lang.Object
| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
Ensure the TensorFlowLite native library has been loaded.
If unsuccessful, throws an UnsatisfiedLinkError with the appropriate error message.
Returns the version of the default TensorFlowLite runtime.
Returns the version of the specified TensorFlowLite runtime.
| runtime | |
Returns the version of the TensorFlowLite model schema that is supported by the default TensorFlowLite runtime.
Returns the version of the TensorFlowLite model schema that is supported by the specified TensorFlowLite runtime.
| runtime | |
This method is deprecated.
Prefer using or #schemaVersion().
Returns the version of the underlying TensorFlowLite model schema.