общедоступный интерфейс OptimizerOptionsOrBuilder
Известные косвенные подклассы |
Публичные методы
абстрактное логическое значение | 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 | получитьОптЛевел () Overall optimization level. |
абстрактный интервал | getOptLevelValue () Overall optimization level. |
Публичные методы
общедоступное абстрактное логическое значение 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;
общедоступный абстрактный 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;