RuntimeFlavor

public final enum RuntimeFlavor

Represents a TFLite runtime. In contrast to InterpreterApi.Options.TfLiteRuntime, this enum represents the actual runtime that is being used, whereas the latter represents a preference for which runtime should be used.

Inherited Methods

Enum Values

public static final RuntimeFlavor APPLICATION

A TFLite runtime built directly into the application.

public static final RuntimeFlavor SYSTEM

A TFLite runtime provided by the system (TFLite in Google Play Services).