Get if JIT compilation is enabled.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.config.optimizer.get_jit, tf.compat.v2.config.optimizer.get_jit
tf.compat.v1.config.optimizer.get_jit
tf.compat.v2.config.optimizer.get_jit
tf.config.optimizer.get_jit()
Note that optimizations are only applied in graph mode, (within tf.function).
If JIT compilation is enabled.