pymc.backends.zarr.ZarrChain.record_sampling_state#
- ZarrChain.record_sampling_state(step=None)[source]#
Record the sampling state information to the store’s
_sampling_state
group.The sampling state includes the number of draws taken so far (
draw_idx
) and the step method’ssampling_state
.- Parameters:
- step
BlockedStep
|CompoundStep
|None
The step method from which to take the
sampling_state
. IfNone
, thestep
is taken to be the step method that was linked to theZarrChain
when callinglink_stepper()
. If this method was never called, no step methodsampling_state
information is stored in the chain.
- step