الواجهة العامة OptimizerOptionsOrBuilder
الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
منطقية مجردة | 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. |
الأساليب العامة
الملخص المنطقي العام 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;
الملخص العام 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;