Missed TensorFlow World? Check out the recap. Learn more

tfp.mcmc.StatesAndTrace

View source on GitHub

Class StatesAndTrace

States and auxiliary trace of an MCMC chain.

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

Attributes:

  • all_states: A Tensor or a nested collection of Tensors representing the MCMC chain state.
  • trace: A Tensor or a nested collection of Tensors representing the auxiliary values traced alongside the chain.

__new__

__new__(
    _cls,
    all_states,
    trace
)

Create new instance of StatesAndTrace(all_states, trace)

Properties

all_states

trace