load_checkpoint#

jeanspy.sampler_numpyro.NumPyroSampler.load_checkpoint

Class and construction: NumPyroSampler.

NumPyroSampler.load_checkpoint()[source]#

Load a trusted matching transition state.

Notes

Inputs and units. No arguments; reads this output directory’s checkpoint and metadata.

Returns and shape. Checkpoint Path; sets post_warmup_state only after identity checks.

Validity. Read only a trusted checkpoint. Stored target/metadata identity is checked here; supplied observation arguments are checked later by run.

Errors. FileNotFoundError for a missing checkpoint; ValueError for format/identity mismatch. Pickle and filesystem errors propagate.

Differentiation. Host-side sampling/storage control; this method has no physical-parameter derivative.

Return type:

pathlib.Path