OptimizerOptions.Builder

classe finale statique publique OptimizerOptions.Builder

 Options passed to the graph optimizer
 
tensorflow.OptimizerOptions de type Protobuf.OptimizerOptions

Méthodes publiques

OptimizerOptions.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
Options de l'optimiseur
Options de l'optimiseur
OptimizerOptions.Builder
clair ()
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 (champ 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
cloner ()
Options de l'optimiseur
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
booléen
getDoCommonSubexpressionElimination ()
 If true, optimize the graph using common subexpression elimination.
booléen
getDoConstantFolding ()
 If true, perform constant folding optimization on the graph.
booléen
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;
long
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.
booléen final
OptimizerOptions.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OptimizerOptions.Builder
mergeFrom (com.google.protobuf.Message autre)
final OptimizerOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
OptimizerOptions.Builder
setDoCommonSubexpressionElimination (valeur booléenne)
 If true, optimize the graph using common subexpression elimination.
OptimizerOptions.Builder
setDoConstantFolding (valeur booléenne)
 If true, perform constant folding optimization on the graph.
OptimizerOptions.Builder
setDoFunctionInlining (valeur booléenne)
 If true, perform function inlining on the graph.
OptimizerOptions.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
OptimizerOptions.Builder
setGlobalJitLevel (valeur OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setGlobalJitLevelValue (valeur entière)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setMaxFoldedConstantInBytes (valeur longue)
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Builder
setOptLevel (valeur OptimizerOptions.Level )
 Overall optimization level.
OptimizerOptions.Builder
setOptLevelValue (valeur entière)
 Overall optimization level.
OptimizerOptions.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
final OptimizerOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public OptimizerOptions.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public OptimizerOptions ()

public OptimizerOptions buildPartial ()

public OptimizerOptions.Builder clear ()

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 clearField (champ 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 public OptimizerOptions.Builder ()

public OptimizerOptions getDefaultInstanceForType ()

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

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

public booléen getDoCommonSubexpressionElimination ()

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

public booléen getDoConstantFolding ()

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

public booléen 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;

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

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 booléen isInitialized ()

public OptimizerOptions.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

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

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

public OptimizerOptions.Builder setDoCommonSubexpressionElimination (valeur booléenne)

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

public OptimizerOptions.Builder setDoConstantFolding (valeur booléenne)

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

public OptimizerOptions.Builder setDoFunctionInlining (valeur booléenne)

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

public OptimizerOptions.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public OptimizerOptions.Builder setGlobalJitLevel (valeur OptimizerOptions.GlobalJitLevel )

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setGlobalJitLevelValue (valeur int)

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setMaxFoldedConstantInBytes (valeur longue)

 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 (valeur 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 (valeur 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public final OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)