सार्वजनिक इंटरफ़ेस ऑप्टिमाइज़रऑप्शनऑरबिल्डर
ज्ञात अप्रत्यक्ष उपवर्ग |
सार्वजनिक तरीके
अमूर्त बूलियन | getDoCommonSubexpressionएलिमिनेशन () 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. |
सार ऑप्टिमाइज़रऑप्शंस.ग्लोबलजिटलेवल | 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. |
सार अनुकूलक विकल्प.स्तर | गेटऑप्टलेवल () Overall optimization level. |
सार इंट | getOptLevelValue () Overall optimization level. |
सार्वजनिक तरीके
सार्वजनिक सार बूलियन getDoCommonSubexpressionElination ()
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;
सार्वजनिक सार ऑप्टिमाइज़रऑप्शन. 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;
सार्वजनिक सार ऑप्टिमाइज़रऑप्शन.लेवल 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;