posterior_states

posterior_states#

hybrid_aif.train.posterior_states(system, params, batch, *, key, roles=None)[source]#

The recognition model’s posterior states over a replay batch: (B, T, ...).

observe() under one vmap; the codes are straight-through samples. The start states for imagine() and the targets for fit_ensemble(). roles goes to assemble().