tf.config.optimizer.set_jit

TensorFlow 2 version View source on GitHub

Set if JIT compilation is enabled.

enabled Whether to enable JIT compilation.