OptimizerOptions.Builder

パブリック静的最終クラスOptimizerOptions.Builder

 Options passed to the graph optimizer
 
Protobuf 型tensorflow.OptimizerOptions

パブリックメソッド

OptimizerOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
オプティマイザーオプション
建てる()
オプティマイザーオプション
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
クリアオプトレベル()
 Overall optimization level.
OptimizerOptions.Builder
オプティマイザーオプション
最終的な静的 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.UnknownFieldSet 不明フィールド)
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 フィールド、オブジェクト値)
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 インデックス、オブジェクト値)
最終的なOptimizerOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public OptimizerOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public OptimizerOptions build ()

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;

public OptimizerOptions.Builderクローン()

public OptimizerOptions getDefaultInstanceForType ()

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

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

public boolean getDoCommonSubexpressionElimination ()

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

public boolean getDoConstantFolding ()

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

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

パブリック最終ブール値isInitialized ()

public OptimizerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

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

public Final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

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 フィールド、オブジェクト値)

public 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 (long 値)

 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 インデックス、オブジェクト値)

public Final OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)