load_samples#
jeanspy.sampler_numpyro.NumPyroSampler.load_samples
Class and construction: NumPyroSampler.
- NumPyroSampler.load_samples(*, combine=True)[source]#
Read persisted sample chunks.
Notes
Inputs and units. combine=True concatenates matching draw dimensions; False retains separate trees.
Returns and shape. Combined xarray.DataTree or ordered list of DataTrees. Pending writes are flushed first.
Validity. Reads this directory’s chunks. Completed arrays are loaded into memory before closing backing stores.
Errors. FileNotFoundError when no chunks exist. Pending-write, reader and concatenation errors propagate.
Differentiation. Host-side sampling/storage control; this method has no physical-parameter derivative.