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

final int
compareTo(RuntimeFlavor arg0)
int
compareTo(Object arg0)
final boolean
equals(Object arg0)
final Class<E>
getDeclaringClass()
final int
hashCode()
final String
name()
final int
ordinal()
String
toString()
static <T extends Enum<T>> T
valueOf(Class<T> arg0, String arg1)
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
abstract int
compareTo(RuntimeFlavor arg0)

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).