TensorFlow 2.0 Beta is available Learn more

tf.config.optimizer.get_jit

Get if JIT compilation is enabled.

Aliases:

  • tf.compat.v1.config.optimizer.get_jit
  • tf.compat.v2.config.optimizer.get_jit
  • tf.config.optimizer.get_jit
tf.config.optimizer.get_jit()
View source on GitHub

Note that optimizations are only applied in graph mode, (within tf.function).

Returns:

If JIT compilation is enabled.