<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/lite/python/convert.py#L151-L198) |

Enum class defining the sets of ops available to generate TFLite models.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.lite.OpsSet`](https://www.tensorflow.org/api_docs/python/tf/lite/OpsSet)

<br />

> [!WARNING]
> **Warning:** Experimental interface, subject to change.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| EXPERIMENTAL_STABLEHLO_OPS | `<OpsSet.EXPERIMENTAL_STABLEHLO_OPS: 'EXPERIMENTAL_STABLEHLO_OPS'>` |
| EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8 | `<OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8: 'EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8'>` |
| SELECT_TF_OPS | `<OpsSet.SELECT_TF_OPS: 'SELECT_TF_OPS'>` |
| TFLITE_BUILTINS | `<OpsSet.TFLITE_BUILTINS: 'TFLITE_BUILTINS'>` |
| TFLITE_BUILTINS_INT8 | `<OpsSet.TFLITE_BUILTINS_INT8: 'TFLITE_BUILTINS_INT8'>` |

<br />