interfaccia pubblica OptimizerOptionsOrBuilder
Sottoclassi indirette conosciute |
Metodi pubblici
booleano astratto | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
booleano astratto | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
booleano astratto | getDoFunctionInlining () If true, perform function inlining on the graph. |
abstract OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
astratto int | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
astratto lungo | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
abstract OptimizerOptions.Level | getOptLevel () Overall optimization level. |
astratto int | getOptLevelValue () Overall optimization level. |
Metodi pubblici
public abstract booleano getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
pubblico astratto booleano getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
pubblico astratto booleano getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
estratto pubblico OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public abstract int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
pubblico astratto lungo 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;
abstract pubblico 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 abstract 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;