OptimizerOptions.Builder

کلاس نهایی استاتیک عمومی OptimizerOptions.Builder

 Options passed to the graph optimizer
 
نوع Protobuf tensorflow.OptimizerOptions

روش های عمومی

OptimizerOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
OptimizerOptions
OptimizerOptions
OptimizerOptions.Builder
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 (فیلد 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
OptimizerOptions
نهایی static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
بولی
getDoCommonSubexpressionElimination ()
 If true, optimize the graph using common subexpression elimination.
بولی
getDoConstantFolding ()
 If true, perform constant folding optimization on the graph.
بولی
getDoFunctionInlining ()
 If true, perform function inlining on the graph.
OptimizerOptions.GlobalJitLevel
getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
بین المللی
getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
طولانی
getMaxFoldedConstantInBytes ()
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Level
getOptLevel ()
 Overall optimization level.
بین المللی
getOptLevelValue ()
 Overall optimization level.
بولی نهایی
OptimizerOptions.Builder
mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OptimizerOptions.Builder
mergeFrom (com.google.protobuf.Message other)
نهایی OptimizerOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
OptimizerOptions.Builder
setDoCommonSubexpressionElimination (مقدار بولی)
 If true, optimize the graph using common subexpression elimination.
OptimizerOptions.Builder
setDoConstantFolding (مقدار بولی)
 If true, perform constant folding optimization on the graph.
OptimizerOptions.Builder
setDoFunctionInlining (مقدار بولی)
 If true, perform function inlining on the graph.
OptimizerOptions.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
OptimizerOptions.Builder
setGlobalJitLevel (مقدار OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setGlobalJitLevelValue (مقدار int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setMaxFoldedConstantInBytes (مقدار طولانی)
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Builder
setOptLevel (مقدار OptimizerOptions.Level )
 Overall optimization level.
OptimizerOptions.Builder
setOptLevelValue (مقدار int)
 Overall optimization level.
OptimizerOptions.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
نهایی OptimizerOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

روش های ارثی

روش های عمومی

public OptimizerOptions.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)

ساخت 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 (فیلد 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;

عمومی OptimizerOptions.Builder Clone ()

عمومی OptimizerOptions getDefaultInstanceForType ()

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

عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

بولین عمومی getDoCommonSubexpressionElimination ()

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

بولی عمومی getDoConstantFolding ()

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

بولی عمومی 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;

عمومی int getGlobalJitLevelValue ()

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

عمومی طولانی 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;

عمومی 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;

بولین نهایی عمومی isInitialized ()

عمومی OptimizerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

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

عمومی نهایی OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public OptimizerOptions.Builder setDoCommonSubexpressionElimination (مقدار بولی)

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

public OptimizerOptions.Builder setDoConstantFolding (مقدار بولی)

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

public OptimizerOptions.Builder setDoFunctionInlining (مقدار بولی)

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

public OptimizerOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

عمومی OptimizerOptions.Builder setGlobalJitLevel (مقدار OptimizerOptions.GlobalJitLevel )

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setGlobalJitLevelValue (مقدار int)

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

public OptimizerOptions.Builder setMaxFoldedConstantInBytes (مقدار طولانی)

 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 ( 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 (مقدار 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 (فیلد com.google.protobuf.Descriptors.FieldDescriptor, int index, Object value)

عمومی نهایی OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)