public static class
InterpreterApi.Options
既知の直接サブクラス |
ランタイム インタープリタの動作を制御するオプション クラス。
ネストされたクラス
enum | InterpreterApi.Options.TfLiteRuntime | TensorFlow Lite ランタイム実装の取得元を表す列挙型。 |
パブリック コンストラクタ
オプション()
|
|
Options(InterpreterApi.Options other)
|
パブリック メソッド
InterpreterApi.Options | |
InterpreterApi.Options |
addDelegateFactory(DelegateFactory delegateFactory)
インタープリタの作成時に作成された
Delegate を適用するために呼び出される DelegateFactory を追加します。 |
ValidatedAccelerationConfig |
getAccelerationConfig()
アクセラレーション構成を返します。
|
List<DelegateFactory> |
getDelegateFactories()
addDelegateFactory を介して登録されたデリゲート ファクトリのリストを返します。 |
List<Delegate> |
getDelegates()
addDelegate を介して登録された、インタープリタの作成時に適用される委任のリストを返します。 |
整数 |
getNumThreads()
マルチスレッドをサポートする演算に使用されるスレッド数を返します。
|
InterpreterApi.Options.TfLiteRuntime |
getRuntime()
TF Lite ランタイム実装の取得元を返します。
|