InterpreterApi.Options

public static class InterpreterApi.Options
既知の直接サブクラス

ランタイム インタープリタの動作を制御するオプション クラス。

ネストされたクラス

enum InterpreterApi.Options.TfLiteRuntime TensorFlow Lite ランタイム実装の取得元を表す列挙型。

パブリック コンストラクタ

パブリック メソッド

InterpreterApi.Options
addDelegateDelegate デリゲート)
インタープリタの作成時に適用される Delegate を追加します。
InterpreterApi.Options
addDelegateFactoryDelegateFactory delegateFactory)
インタープリタの作成時に作成された Delegate を適用するために呼び出される DelegateFactory を追加します。
ValidatedAccelerationConfig
getAccelerationConfig()
アクセラレーション構成を返します。
List<DelegateFactory>
getDelegateFactories()
addDelegateFactory を介して登録されたデリゲート ファクトリのリストを返します。
List<Delegate>
getDelegates()
addDelegate を介して登録された、インタープリタの作成時に適用される委任のリストを返します。
整数
getNumThreads()
マルチスレッドをサポートする演算に使用されるスレッド数を返します。
InterpreterApi.Options.TfLiteRuntime
getRuntime()
TF Lite ランタイム実装の取得元を返します。