OptimizerOptions.Builder

classe finale statica pubblica OptimizerOptions.Builder

 Options passed to the graph optimizer
 
Tipo di protobuf tensorflow.OptimizerOptions

Metodi pubblici

OptimizerOptions.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
Opzioni dell'ottimizzatore
Opzioni dell'ottimizzatore
OptimizerOptions.Builder
chiaro ()
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 oneof)
OptimizerOptions.Builder
clearOptLevel ()
 Overall optimization level.
OptimizerOptions.Builder
clone ()
Opzioni dell'ottimizzatore
com.google.protobuf.Descriptors.Descriptor statico finale
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;
int
getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
lungo
getMaxFoldedConstantInBytes ()
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Level
getOptLevel ()
 Overall optimization level.
int
getOptLevelValue ()
 Overall optimization level.
booleano finale
OptimizerOptions.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
OptimizerOptions.Builder
mergeFrom (com.google.protobuf.Message altro)
finale OptimizerOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
OptimizerOptions.Builder
setDoCommonSubexpressionElimination (valore booleano)
 If true, optimize the graph using common subexpression elimination.
OptimizerOptions.Builder
setDoConstantFolding (valore booleano)
 If true, perform constant folding optimization on the graph.
OptimizerOptions.Builder
setDoFunctionInlining (valore booleano)
 If true, perform function inlining on the graph.
OptimizerOptions.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
OptimizerOptions.Builder
setGlobalJitLevel (valore OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setGlobalJitLevelValue (valore int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setMaxFoldedConstantInBytes (valore lungo)
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Builder
setOptLevel (valore OptimizerOptions.Level )
 Overall optimization level.
OptimizerOptions.Builder
setOptLevelValue (valore int)
 Overall optimization level.
OptimizerOptions.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale OptimizerOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public OptimizerOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public OptimizerOptions build ()

public OptimizerOptions buildPartial ()

pubblico OptimizerOptions.Builder chiaro ()

public OptimizerOptions.Builder clearDoCommonSubexpressionElimination ()

 If true, optimize the graph using common subexpression elimination.
 
bool do_common_subexpression_elimination = 1;

pubblico 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 clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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;

clone pubblico OptimizerOptions.Builder ()

public OptimizerOptions getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public booleano getDoCommonSubexpressionElimination ()

 If true, optimize the graph using common subexpression elimination.
 
bool do_common_subexpression_elimination = 1;

pubblico booleano getDoConstantFolding ()

 If true, perform constant folding optimization on the graph.
 
bool do_constant_folding = 2;

pubblico booleano 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;

pubblico lungo 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;

pubblico 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;

public 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;

public final booleano isInitialized ()

public OptimizerOptions.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

public OptimizerOptions.Builder mergeFrom (com.google.protobuf.Message altro)

public final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public OptimizerOptions.Builder setDoCommonSubexpressionElimination (valore booleano)

 If true, optimize the graph using common subexpression elimination.
 
bool do_common_subexpression_elimination = 1;

public OptimizerOptions.Builder setDoConstantFolding (valore booleano)

 If true, perform constant folding optimization on the graph.
 
bool do_constant_folding = 2;

public OptimizerOptions.Builder setDoFunctionInlining (valore booleano)

 If true, perform function inlining on the graph.
 
bool do_function_inlining = 4;

public OptimizerOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public OptimizerOptions.Builder setGlobalJitLevel (valore OptimizerOptions.GlobalJitLevel )

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setGlobalJitLevelValue (valore int)

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setMaxFoldedConstantInBytes (valore lungo)

 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 (valore 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 (valore 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;

public OptimizerOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

pubblico finale OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)