<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/mcmc/sample.py#L43-L57) |

States and auxiliary trace of an MCMC chain.

    tfp.mcmc.StatesAndTrace(
        all_states, trace
    )

The first dimension of all the `Tensor`s in this structure is the same and
represents the chain length.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `all_states` | A `Tensor` or a nested collection of `Tensor`s representing the MCMC chain state. |
| `trace` | A `Tensor` or a nested collection of `Tensor`s representing the auxiliary values traced alongside the chain. |

<br />