[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.config.optimizer.set_jit\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/framework/config.py#L161-L184) |\n\nConfigure JIT compilation. (deprecated argument values)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.config.optimizer.set_jit`](https://www.tensorflow.org/api_docs/python/tf/config/optimizer/set_jit)\n\n\u003cbr /\u003e\n\n tf.config.optimizer.set_jit(\n enabled: Union[bool, str]\n )\n\n| **Deprecated:** SOME ARGUMENT VALUES ARE DEPRECATED: `(jit_config=True)`. They will be removed in a future version. Instructions for updating: `True` setting is deprecated, use `autoclustering` instead.\n| **Note:** compilation is only applied to code that is compiled into a graph (in TF2 that's only a code inside [`tf.function`](../../../tf/function)).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enabled` | JIT compilation configuration. Possible values: \u003cbr /\u003e - `\"autoclustering\"` (`True` is a deprecated alias): perform [autoclustering](https://www.tensorflow.org/xla#auto-clustering) (automatically identify and compile clusters of nodes) on all graphs using [XLA](https://www.tensorflow.org/xla). - `False`: do not automatically compile any graphs. |"]]