Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.config.optimizer.get_jit

TensorFlow 2 version View source on GitHub

Get if JIT compilation is enabled.

Aliases:

tf.config.optimizer.get_jit()

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

Returns:

If JIT compilation is enabled.