الفئة النهائية العامة الثابتة OptimizerOptions.Builder
Options passed to the graph optimizerنوع Protobuf
tensorflow.OptimizerOptions
الأساليب العامة
OptimizerOptions.Builder | addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
خيارات أوبتيميزر | يبني () |
خيارات أوبتيميزر | بناء جزئي () |
OptimizerOptions.Builder | واضح () |
OptimizerOptions.Builder | ClearDoCommonSubexpressionElivation () 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 | |
منطقية | getDoCommonSubexpressionElivation () 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 | الحصول علىGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
كثافة العمليات | الحصول علىGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
طويل | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | جيتوبتليفيل () Overall optimization level. |
كثافة العمليات | الحصول علىOptLevelValue () Overall optimization level. |
منطقية نهائية | تمت التهيئة () |
OptimizerOptions.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OptimizerOptions.Builder | دمج من (com.google.protobuf.Message أخرى) |
OptimizerOptions.Builder النهائي | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
OptimizerOptions.Builder | setDoCommonSubexpressionElivation (قيمة منطقية) 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، فهرس int، قيمة الكائن) |
OptimizerOptions.Builder النهائي | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
الطرق الموروثة
الأساليب العامة
public OptimizerOptions.Builder addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
OptimizerOptions.Builder العام ClearDoCommonSubexpressionElivation ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder العام ClearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
OptimizerOptions.Builder العام ClearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
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. 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;
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;
النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام
getDoCommonSubexpressionElivation () المنطقية العامة
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;
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;
تمت تهيئة القيمة المنطقية النهائية العامة ()
OptimizerOptions.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
النهائي العام OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElivation (قيمة منطقية)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder العامة setDoConstantFolding (قيمة منطقية)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
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، قيمة الكائن)
مجموعة OptimizerOptions.Builder العامة GlobalJitLevel (قيمة OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
مجموعة OptimizerOptions.Builder العامة GlobalJitLevelValue (قيمة int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
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;
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;
مجموعة OptimizerOptions.Builder العامة OptLevelValue (قيمة 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;