pymc.backends.zarr.ZarrChain.record_sampling_state#
- ZarrChain.record_sampling_state(step=None)[source]#
Record the sampling state information to the store’s
_sampling_stategroup.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, thestepis taken to be the step method that was linked to theZarrChainwhen callinglink_stepper(). If this method was never called, no step methodsampling_stateinformation is stored in the chain.
- step