clase final estática pública OptimizerOptions.Builder
Options passed to the graph optimizerProtobuf tipo
tensorflow.OptimizerOptions
Métodos públicos
OptimizerOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones del optimizador | construir () |
Opciones del optimizador | |
OptimizerOptions.Builder | claro () |
OptimizerOptions.Builder | clearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | clearDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OptimizerOptions.Builder | clearGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
OptimizerOptions.Builder | borrarOptLevel () Overall optimization level. |
OptimizerOptions.Builder | clonar () |
Opciones del optimizador | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
booleano | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
booleano | getDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
entero | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
largo | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | getOptLevel () Overall optimization level. |
entero | getOptLevelValue () Overall optimization level. |
booleano final | |
OptimizerOptions.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message otro) |
OptimizerOptions.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
OptimizerOptions.Builder | setDoCommonSubexpressionElimination (valor booleano) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (valor booleano) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInlining (valor booleano) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OptimizerOptions.Builder | setGlobalJitLevel (valor OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (valor int) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (valor largo) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (valor int) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
final OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public OptimizerOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público booleano getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
getDoConstantFolding booleano público ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
getDoFunctionInlining booleano público ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
público int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
público largo 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;
público 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;
público final booleano isInitialized ()
public OptimizerOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
público final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (valor booleano)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (valor booleano)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (valor booleano)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público OptimizerOptions.Builder setGlobalJitLevel (valor OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (valor int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (valor largo)
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;
público OptimizerOptions.Builder setOptLevel (valor 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 (valor 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;