bartz.mcmcloop.EvaluableTrace¶
- class bartz.mcmcloop.EvaluableTrace(*args, **kwargs)[source]¶
Structural type of the traces accepted by
evaluate_trace.Both
bartz.mcmcloop.MainTraceandbartz.debug.MinimalTracesatisfy it. The runtime check is structural (attribute presence only, not the annotated shapes), so it also matches the axis-spec treeschain_vmap_axesderives from a trace. Implementations must beequinox.Moduledataclasses whose per-sample fields carrysamplesaxis markers (seebartz.mcmcstep._axes.field), read byevaluate_traceto locate the sample axis.