<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/mcmc/progress_bar_reducer.py#L29-L46) |

Make a `progress_bar_fn` that uses `tqdm`.

    tfp.experimental.mcmc.make_tqdm_progress_bar_fn(
        description='', leave=True
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `description` | `str` to display next to the progress bar, default is "". |
| `leave` | Boolean whether to leave the progress bar up after finished. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `tqdm_progress_bar_fn` | A function that takes an integer `num_steps` and returns a `tqdm` progress bar iterator. |

<br />