W3cubDocs

/TensorFlow 1.15

tf.OptimizerOptions

A ProtocolMessage

Attributes
do_common_subexpression_elimination bool do_common_subexpression_elimination
do_constant_folding bool do_constant_folding
do_function_inlining bool do_function_inlining
global_jit_level GlobalJitLevel global_jit_level
max_folded_constant_in_bytes int64 max_folded_constant_in_bytes
opt_level Level opt_level

Class Variables

  • DEFAULT = 0
  • GlobalJitLevel
  • L0 = -1
  • L1 = 0
  • Level
  • OFF = -1
  • ON_1 = 1
  • ON_2 = 2

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/OptimizerOptions