Back to Tensorflow

RuntimeFlavor

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/RuntimeFlavor.html

2.21.02.1 KB
Original Source

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

From class java.lang.Enum

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

From class java.lang.Object

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

From interface java.lang.Comparable

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