public class
GpuDelegateFactory
DelegateFactory
for creating a GpuDelegate
.
Nested Classes
class | GpuDelegateFactory.Options | Delegate options. |
Public Constructors
Public Methods
Inherited Methods
abstract Delegate |
Public Constructors
public GpuDelegateFactory ()
Public Methods
public Delegate create (RuntimeFlavor runtimeFlavor)
Create a Delegate
for the given RuntimeFlavor
.
Note for developers implementing this interface: Currently TF Lite in Google Play Services
does not support external (developer-provided) delegates. Correspondingly, implementations of
this method can expect to be called with RuntimeFlavor.APPLICATION
.
Parameters
runtimeFlavor |
---|