public final class TensorFlowLite
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
Ensure the TensorFlowLite native library has been loaded.
|
static java.lang.String |
nativeRuntimeVersion() |
static java.lang.String |
nativeSchemaVersion() |
static java.lang.String |
runtimeVersion()
Returns the version of the underlying TensorFlowLite runtime.
|
static java.lang.String |
schemaVersion()
Returns the version of the underlying TensorFlowLite model schema.
|
static java.lang.String |
version()
Deprecated.
Prefer using
or #schemaVersion(). |
@Deprecated public static java.lang.String version()
or #schemaVersion().public static java.lang.String runtimeVersion()
public static java.lang.String schemaVersion()
public static void init()
If unsuccessful, throws an UnsatisfiedLinkError with the appropriate error message.
public static java.lang.String nativeRuntimeVersion()
public static java.lang.String nativeSchemaVersion()