Interpreter.Options

public static class Interpreter.Options]

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

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

パブリック メソッド

Interpreter.Options
addDelegateDelegate デリゲート)
インタープリタの作成時に適用される Delegate を追加します。
Interpreter.Options
addDelegateFactoryDelegateFactory delegateFactory)
インタープリタの作成時に作成された Delegate を適用するために呼び出される DelegateFactory を追加します。
Interpreter.Options
setAllowBufferHandleOutput(ブール値の許可)
詳細設定: バッファ ハンドル出力を許可するかどうかを設定します。
Interpreter.Options
setAllowFp16PrecisionForFp32(ブール値許可)
このメソッドは非推奨になりました。NnApiDelegate.Options#setAllowFp16(boolean enable) を使用することをおすすめします。
Interpreter.Options
setCancellable(ブール値の許可)
詳細設定: 通訳をキャンセルできる場合に設定します。
Interpreter.Options
setNumThreads(int numThreads)
マルチスレッドをサポートする演算に使用されるスレッド数を設定します。
Interpreter.Options
setRuntimeInterpreterApi.Options.TfLiteRuntime ランタイム)
TF Lite ランタイム実装の取得元を指定します。
</