interfejs publiczny OptimizerOptionsOrBuilder
Znane podklasy pośrednie |
Metody publiczne
abstrakcyjna wartość logiczna | getDoCommonSubexpressionEliminacja () If true, optimize the graph using common subexpression elimination. |
abstrakcyjna wartość logiczna | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
abstrakcyjna wartość logiczna | getDoFunctionInline () If true, perform function inlining on the graph. |
streszczenie OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
streszczenie wew | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
abstrakcyjne, długie | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
streszczenie Opcje Optymalizatora.Poziom | uzyskajOptLevel () Overall optimization level. |
streszczenie wew | getOptLevelValue () Overall optimization level. |
Metody publiczne
publiczna wartość logiczna abstrakcyjna getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
publiczna abstrakcja logiczna getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
publiczna wartość logiczna abstrakcyjna getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
publiczne streszczenie OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
publiczne streszczenie int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
publiczne streszczenie długie 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;
publiczne streszczenie 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;
publiczne streszczenie 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;