<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#L60-L78) |

States and auxiliary trace of an MCMC chain.

    tfp.mcmc.CheckpointableStatesAndTrace(
        all_states, trace, final_kernel_results
    )

The first dimension of all the `Tensor`s in the `all_states` and `trace`
attributes 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. |
| `final_kernel_results` | A `Tensor` or a nested collection of `Tensor`s representing the final value of the auxiliary state of the `TransitionKernel` that generated this chain. |

<br />