パブリックファイナルクラスTensorFlowLite
TensorFlowLiteランタイムとネイティブコードをロードするための静的ユーティリティメソッド。
パブリックメソッド
静的ボイド | init () TensorFlowLiteネイティブライブラリがロードされていることを確認します。 |
静的文字列 | runtimeVersion () デフォルトのTensorFlowLiteランタイムのバージョンを返します。 |
静的文字列 | |
静的文字列 | schemaVersion () デフォルトのTensorFlowLiteランタイムでサポートされているTensorFlowLiteモデルスキーマのバージョンを返します。 |
静的文字列 | schemaVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム) 指定されたTensorFlowLiteランタイムでサポートされているTensorFlowLiteモデルスキーマのバージョンを返します。 |
静的文字列 | バージョン() このメソッドは非推奨です。 or #schemaVersion() を使用することをお勧めします。 |
継承されたメソッド
パブリックメソッド
public static void init ()
TensorFlowLiteネイティブライブラリがロードされていることを確認します。
失敗した場合は、適切なエラーメッセージとともにUnsatisfiedLinkErrorをスローします。
public static String runtimeVersion ( InterpreterApi.Options.TfLiteRuntime runtime)
指定されたTensorFlowLiteランタイムのバージョンを返します。
パラメーター
ランタイム |
---|
public static String schemaVersion ()
デフォルトのTensorFlowLiteランタイムでサポートされているTensorFlowLiteモデルスキーマのバージョンを返します。
public static String schemaVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム)
指定されたTensorFlowLiteランタイムでサポートされているTensorFlowLiteモデルスキーマのバージョンを返します。
パラメーター
ランタイム |
---|
public static String version ()
このメソッドは非推奨です。
or #schemaVersion()
を使用することをお勧めします。
基になるTensorFlowLiteモデルスキーマのバージョンを返します。