publiczna statyczna klasa końcowa OptimizerOptions.Builder
Options passed to the graph optimizerProtobuf typu
tensorflow.OptimizerOptions
Metody publiczne
Opcje optymalizatora. Konstruktor | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Opcje Optymalizatora | zbudować () |
Opcje Optymalizatora | |
Opcje optymalizatora. Konstruktor | jasne () |
Opcje optymalizatora. Konstruktor | clearDoCommonSubexpressionEliminacja () If true, optimize the graph using common subexpression elimination. |
Opcje optymalizatora. Konstruktor | clearDoConstantSkładane () If true, perform constant folding optimization on the graph. |
Opcje optymalizatora. Konstruktor | clearDoFunctionInline () If true, perform function inlining on the graph. |
Opcje optymalizatora. Konstruktor | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Opcje optymalizatora. Konstruktor | clearGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opcje Optymalizatora. Konstruktor | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opcje optymalizatora. Konstruktor | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Opcje optymalizatora. Konstruktor | clearOptLevel () Overall optimization level. |
Opcje optymalizatora. Konstruktor | klon () |
Opcje Optymalizatora | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
wartość logiczna | getDoCommonSubexpressionEliminacja () If true, optimize the graph using common subexpression elimination. |
wartość logiczna | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
wartość logiczna | getDoFunctionInline () If true, perform function inlining on the graph. |
OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
wew | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
długi | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opcje optymalizatora.Poziom | uzyskajOptLevel () Overall optimization level. |
wew | getOptLevelValue () Overall optimization level. |
końcowa wartość logiczna | |
Opcje optymalizatora. Konstruktor | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Opcje optymalizatora. Konstruktor | mergeFrom (com.google.protobuf.Wiadomość inna) |
final OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Opcje optymalizatora. Konstruktor | setDoCommonSubexpressionElimination (wartość logiczna) If true, optimize the graph using common subexpression elimination. |
Opcje optymalizatora. Konstruktor | setDoConstantFolding (wartość logiczna) If true, perform constant folding optimization on the graph. |
Opcje optymalizatora. Konstruktor | setDoFunctionInlining (wartość logiczna) If true, perform function inlining on the graph. |
Opcje optymalizatora. Konstruktor | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Opcje optymalizatora. Konstruktor | setGlobalJitLevel (wartość OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opcje optymalizatora. Konstruktor | setGlobalJitLevelValue (wartość int) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opcje optymalizatora. Konstruktor | setMaxFoldedConstantInBytes (długa wartość) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opcje optymalizatora. Konstruktor | |
Opcje optymalizatora. Konstruktor | setOptLevelValue (wartość int) Overall optimization level. |
Opcje optymalizatora. Konstruktor | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
final OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public OptimizerOptions.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OptimizerOptions.Builder clearDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder clearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder clearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder clearGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder clearMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder clearOptLevel ()
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczna wartość logiczna getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
publiczna wartość logiczna getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
publiczna wartość logiczna getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
publiczny długi getMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Level getOptLevel ()
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
publiczny int getOptLevelValue ()
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
publiczna końcowa wartość logiczna isInitialized ()
public OptimizerOptions.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (wartość logiczna)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (wartość logiczna)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (wartość logiczna)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OptimizerOptions.Builder setGlobalJitLevel (wartość OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (wartość int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (długa wartość)
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder setOptLevel (wartość OptimizerOptions.Level )
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
public OptimizerOptions.Builder setOptLevelValue (wartość int)
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;