pymc.backends.zarr.ZarrChain.flush#

ZarrChain.flush()[source]#

Write the data stored in the internal buffer to the desired zarr store.

After writing the draws and stats returned by each step of the step method, the record_sampling_state() is called, the internal buffer is cleared and the number of steps until the next flush is determined.