Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.config.optimizer.get_jit

TensorFlow 2.0 version View source on GitHub

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()

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

Returns:

If JIT compilation is enabled.