TensorFlowLite

パブリック最終クラスTensorFlowLite

TensorFlowLite ランタイムとネイティブ コードをロードするための静的ユーティリティ メソッド。

パブリックメソッド

静的ボイド
初期化()
TensorFlowLite ネイティブ ライブラリがロードされていることを確認してください。
静的文字列
ランタイムバージョン()
デフォルトの TensorFlowLite ランタイムのバージョンを返します。
静的文字列
runtimeVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム)
指定された TensorFlowLite ランタイムのバージョンを返します。
静的文字列
スキーマバージョン()
デフォルトの TensorFlowLite ランタイムによってサポートされる TensorFlowLite モデル スキーマのバージョンを返します。
静的文字列
schemaVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム)
指定された TensorFlowLite ランタイムによってサポートされる TensorFlowLite モデル スキーマのバージョンを返します。
静的文字列
バージョン()
このメソッドは廃止されました。 or #schemaVersion()を使用することをお勧めします。

継承されたメソッド

パブリックメソッド

パブリック静的無効初期化()

TensorFlowLite ネイティブ ライブラリがロードされていることを確認してください。

失敗した場合は、適切なエラー メッセージを含む UnsatisfiedLinkError がスローされます。

public static String runtimeVersion ()

デフォルトの TensorFlowLite ランタイムのバージョンを返します。

public static String runtimeVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム)

指定された TensorFlowLite ランタイムのバージョンを返します。

パラメーター
ランタイム

public static String schemaVersion ()

デフォルトの TensorFlowLite ランタイムによってサポートされる TensorFlowLite モデル スキーマのバージョンを返します。

public static String schemaVersion ( InterpreterApi.Options.TfLiteRuntimeランタイム)

指定された TensorFlowLite ランタイムによってサポートされる TensorFlowLite モデル スキーマのバージョンを返します。

パラメーター
ランタイム

public static Stringバージョン()

このメソッドは非推奨です
or #schemaVersion()を使用することをお勧めします。

基礎となる TensorFlowLite モデル スキーマのバージョンを返します。