<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/compiler/mlir/mlir.py#L95-L112) |

Converts a SavedModel to MLIR module.

#### View aliases


**Compat aliases for migration**

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

[`tf.compat.v1.mlir.experimental.convert_saved_model`](https://www.tensorflow.org/api_docs/python/tf/mlir/experimental/convert_saved_model)

<br />

    tf.mlir.experimental.convert_saved_model(
        saved_model_path, exported_names, show_debug_info=False
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `saved_model_path` | Path to SavedModel. |
| `exported_names` | Names to export. |
| `show_debug_info` | Whether to include locations in the emitted textual form. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A textual representation of the MLIR module corresponding to the SavedModel. ||

<br />