tensorflow / 2.9.1 / config / optimizer / set_jit.html /

tf.config.optimizer.set_jit

Configure JIT compilation. (deprecated argument values)

Note: compilation is only applied to code that is compiled into a graph (in TF2 that's only a code inside tf.function).
Args
enabled JIT compilation configuration. Possible values:
  • "autoclustering" (True is a deprecated alias): perform autoclustering (automatically identify and compile clusters of nodes) on all graphs using XLA.
  • False: do not automatically compile any graphs.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/config/optimizer/set_jit