GpuDelegateFactory

公用類別 GpuDelegateFactory

DelegateFactory 用於建立 GpuDelegate

巢狀類別

類別 GpuDelegateFactory.Options 委派選項。

公用建構函式

公用方法

委派
create(RuntimeFlavor RuntimeFlavor)
為指定的 RuntimeFlavor 建立 Delegate

繼承的方法

公用建構函式

public GpuDelegateFactory ()

public GpuDelegateFactory (GpuDelegateFactory.Options options)

參數
選項

公用方法

public Delegate create (RuntimeFlavor RuntimeFlavor)

為指定的 RuntimeFlavor 建立 Delegate

導入這個介面的開發人員注意事項:目前 Google Play 服務中的 TF Lite 不支援外部 (開發人員提供) 委派項目。相對地,此方法的實作可使用 RuntimeFlavor.APPLICATION 呼叫。

參數
runtimeFlavor