FunctionSpec.ExperimentalCompile

public static final enum FunctionSpec.ExperimentalCompile

 Whether the function should be compiled by XLA.
 The public interface to tf.function uses an optional boolean to
 represent three distinct states for this field.  Unfortunately, proto3
 removes the ability to explicitly check for the presence or absence of a
 field, so we instead map to an enum.
 See tf.function for details.
 
Protobuf enum tensorflow.FunctionSpec.ExperimentalCompile

Constants

int DEFAULT_VALUE DEFAULT = 0;
int OFF_VALUE OFF = 2;
int ON_VALUE ON = 1;

Inherited Methods

final int
int
compareTo(Object arg0)
final boolean
equals(Object arg0)
final Class<FunctionSpec.ExperimentalCompile>
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

Enum Values

public static final FunctionSpec.ExperimentalCompile DEFAULT

DEFAULT = 0;

public static final FunctionSpec.ExperimentalCompile OFF

OFF = 2;

public static final FunctionSpec.ExperimentalCompile ON

ON = 1;

public static final FunctionSpec.ExperimentalCompile UNRECOGNIZED

Constants

public static final int DEFAULT_VALUE

DEFAULT = 0;

Constant Value: 0

public static final int OFF_VALUE

OFF = 2;

Constant Value: 2

public static final int ON_VALUE

ON = 1;

Constant Value: 1