# Module: tf.compat.v1.lite

<br />

Public API for tf._api.v2.lite namespace

## Modules

[`constants`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/constants) module: Public API for tf._api.v2.lite.constants namespace

[`experimental`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/experimental) module: Public API for tf._api.v2.lite.experimental namespace

## Classes

[`class Interpreter`](https://www.tensorflow.org/api_docs/python/tf/lite/Interpreter): Interpreter interface for running TensorFlow Lite models.

[`class OpHint`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/OpHint): A class that helps build tflite function invocations. (deprecated)

[`class OpsSet`](https://www.tensorflow.org/api_docs/python/tf/lite/OpsSet): Enum class defining the sets of ops available to generate TFLite models.

[`class Optimize`](https://www.tensorflow.org/api_docs/python/tf/lite/Optimize): Enum defining the optimizations to apply when generating a tflite model.

[`class RepresentativeDataset`](https://www.tensorflow.org/api_docs/python/tf/lite/RepresentativeDataset): Representative dataset used to optimize the model.

[`class TFLiteConverter`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/TFLiteConverter): Convert a TensorFlow model into `output_format`.

[`class TargetSpec`](https://www.tensorflow.org/api_docs/python/tf/lite/TargetSpec): Specification of target device used to optimize the model.

[`class TocoConverter`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/TocoConverter): Convert a TensorFlow model into `output_format`.

## Functions

[`toco_convert(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/toco_convert): Convert a TensorFlow GraphDef to TFLite. (deprecated)