save_checkpoint#
jeanspy.sampler_numpyro.NumPyroSampler.save_checkpoint
Class and construction: NumPyroSampler.
- NumPyroSampler.save_checkpoint()[source]#
Save trusted NumPyro transition state.
Notes
Inputs and units. No arguments; requires a
last_stateand bound analysis identity.Returns and shape. Path of the written checkpoint.
Validity. A completed MCMC
last_stateand an unchanged bound analysis are required. The file contains Python pickle data.Errors. RuntimeError before
last_stateexists; ValueError for unverified/changed analysis. Filesystem errors propagate.Differentiation. Host-side sampling/storage control; this method has no physical-parameter derivative.
- Return type: