OptimizerOptions.GlobalJitLevel
Stay organized with collections
Save and categorize content based on your preferences.
Control the use of the compiler/jit. Experimental.
Protobuf enum
tensorflow.OptimizerOptions.GlobalJitLevel
Constants
int |
DEFAULT_VALUE |
Default setting ("off" now, but later expected to be "on")
DEFAULT = 0;
|
int |
OFF_VALUE |
OFF = -1;
|
int |
ON_1_VALUE |
The following settings turn on compilation, with higher values being
more aggressive. |
int |
ON_2_VALUE |
ON_2 = 2;
|
Inherited Methods
From class
java.lang.Enum
final
int
|
|
int
|
compareTo(Object arg0)
|
final
boolean
|
equals(Object arg0)
|
final
Class<OptimizerOptions.GlobalJitLevel>
|
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
Enum Values
public
static
final
OptimizerOptions.GlobalJitLevel
DEFAULT
Default setting ("off" now, but later expected to be "on")
DEFAULT = 0;
public
static
final
OptimizerOptions.GlobalJitLevel
OFF
public
static
final
OptimizerOptions.GlobalJitLevel
ON_1
The following settings turn on compilation, with higher values being
more aggressive. Higher values may reduce opportunities for parallelism
and may use more memory. (At present, there is no distinction, but this
is expected to change.)
ON_1 = 1;
public
static
final
OptimizerOptions.GlobalJitLevel
ON_2
public
static
final
OptimizerOptions.GlobalJitLevel
UNRECOGNIZED
Constants
public
static
final
int
DEFAULT_VALUE
Default setting ("off" now, but later expected to be "on")
DEFAULT = 0;
Constant Value:
0
public
static
final
int
OFF_VALUE
public
static
final
int
ON_1_VALUE
The following settings turn on compilation, with higher values being
more aggressive. Higher values may reduce opportunities for parallelism
and may use more memory. (At present, there is no distinction, but this
is expected to change.)
ON_1 = 1;
Constant Value:
1
public
static
final
int
ON_2_VALUE
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# OptimizerOptions.GlobalJitLevel\n\npublic static final enum **OptimizerOptions.GlobalJitLevel** \n\u003cbr /\u003e\n\n```\n Control the use of the compiler/jit. Experimental.\n \n```\nProtobuf enum `tensorflow.OptimizerOptions.GlobalJitLevel`\n\n\u003cbr /\u003e\n\n### Constants\n\n|-----|------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| int | [DEFAULT_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel#DEFAULT_VALUE) | ``` Default setting (\"off\" now, but later expected to be \"on\") ``` `DEFAULT = 0;` |\n| int | [OFF_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel#OFF_VALUE) | `OFF = -1;` |\n| int | [ON_1_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel#ON_1_VALUE) | ``` The following settings turn on compilation, with higher values being more aggressive. ``` |\n| int | [ON_2_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel#ON_2_VALUE) | `ON_2 = 2;` |\n\n### Inherited Methods\n\nFrom class java.lang.Enum \n\n|-------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| final int | compareTo([OptimizerOptions.GlobalJitLevel](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel) arg0) |\n| int | compareTo(Object arg0) |\n| final boolean | equals(Object arg0) |\n| final Class\\\u003c[OptimizerOptions.GlobalJitLevel](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel)\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final String | name() |\n| final int | ordinal() |\n| String | toString() |\n| static \\\u003cT extends Enum\\\u003cT\\\u003e\\\u003e T | valueOf(Class\\\u003cT\\\u003e arg0, String arg1) |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.Comparable \n\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | compareTo([OptimizerOptions.GlobalJitLevel](/jvm/api_docs/java/org/tensorflow/proto/framework/OptimizerOptions.GlobalJitLevel) arg0) |\n\nEnum Values\n-----------\n\n#### public static final OptimizerOptions.GlobalJitLevel\n**DEFAULT**\n\n\u003cbr /\u003e\n\n```\n Default setting (\"off\" now, but later expected to be \"on\")\n \n```\n`DEFAULT = 0;`\n\n\u003cbr /\u003e\n\n#### public static final OptimizerOptions.GlobalJitLevel\n**OFF**\n\n`OFF = -1;` \n\n#### public static final OptimizerOptions.GlobalJitLevel\n**ON_1**\n\n\u003cbr /\u003e\n\n```\n The following settings turn on compilation, with higher values being\n more aggressive. Higher values may reduce opportunities for parallelism\n and may use more memory. (At present, there is no distinction, but this\n is expected to change.)\n \n```\n`ON_1 = 1;`\n\n\u003cbr /\u003e\n\n#### public static final OptimizerOptions.GlobalJitLevel\n**ON_2**\n\n`ON_2 = 2;` \n\n#### public static final OptimizerOptions.GlobalJitLevel\n**UNRECOGNIZED**\n\n\u003cbr /\u003e\n\nConstants\n---------\n\n#### public static final int\n**DEFAULT_VALUE**\n\n\u003cbr /\u003e\n\n```\n Default setting (\"off\" now, but later expected to be \"on\")\n \n```\n`DEFAULT = 0;`\n\n\u003cbr /\u003e\n\nConstant Value: 0 \n\n#### public static final int\n**OFF_VALUE**\n\n`OFF = -1;` \nConstant Value: -1 \n\n#### public static final int\n**ON_1_VALUE**\n\n\u003cbr /\u003e\n\n```\n The following settings turn on compilation, with higher values being\n more aggressive. Higher values may reduce opportunities for parallelism\n and may use more memory. (At present, there is no distinction, but this\n is expected to change.)\n \n```\n`ON_1 = 1;`\n\n\u003cbr /\u003e\n\nConstant Value: 1 \n\n#### public static final int\n**ON_2_VALUE**\n\n`ON_2 = 2;` \nConstant Value: 2"]]