interfaz pública OptimizerOptionsOrBuilder
Subclases indirectas conocidas |
Métodos públicos
booleano abstracto | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
booleano abstracto | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
booleano abstracto | getDoFunctionInlining () If true, perform function inlining on the graph. |
resumen OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
resumen entero | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
abstracto largo | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Resumen OptimizerOptions.Level | getOptLevel () Overall optimization level. |
resumen entero | getOptLevelValue () Overall optimization level. |
Métodos públicos
getDoCommonSubexpressionElimination booleano abstracto público ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
getDoConstantFolding booleano abstracto público ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
getDoFunctionInlining booleano abstracto público ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
resumen público OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
resumen público int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
getMaxFoldedConstantInBytes largo abstracto público ()
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;
resumen público 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;
resumen público 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;