# tf.mlir.experimental.run_pass_pipeline

<br />

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

Runs a pipeline over input module.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.mlir.experimental.run_pass_pipeline(
        mlir_txt, pass_pipeline, show_debug_info=False
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `mlir_txt` | Textual representation of the MLIR module. |
| `pass_pipeline` | Pass pipeline to run on module. |
| `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 transformed module. ||

<br />