tf.config.optimizer.get_jit

View source on GitHub

Get if JIT compilation is enabled.

tf.config.optimizer.get_jit()

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

Returns:

If JIT compilation is enabled.