מחלקה סופית סטטית ציבורית OptimizerOptions.Builder
Options passed to the graph optimizerסוג Protobuf
tensorflow.OptimizerOptions
שיטות ציבוריות
OptimizerOptions.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
אופטימיזציה אפשרויות | לבנות () |
אופטימיזציה אפשרויות | buildPartial () |
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 | שיבוט () |
אופטימיזציה אפשרויות | |
final 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; |
int | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
אָרוֹך | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
אופטימיזציה אפשרויות. רמה | getOptLevel () Overall optimization level. |
int | getOptLevelValue () Overall optimization level. |
בוליאנית סופית | |
OptimizerOptions.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message אחר) |
final OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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 | |
OptimizerOptions.Builder | setOptLevelValue (ערך int) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
final OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
public OptimizerOptions.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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;
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;
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;
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 OptimizerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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 (ערך ארוך)
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;