nami.paths.base#
Classes
Base class for probability paths that interpolate between target and source. |
- class nami.paths.base.ProbabilityPath[source]#
Bases:
objectBase class for probability paths that interpolate between target and source.
Subclasses implement
sample_xtto draw noisy interpolants andtarget_utto return the conditional velocity target used for flow-matching losses. Stochastic paths (e.g. Brownian bridges) may additionally overridescore_targetto provide the conditional score.Parameters passed as keyword-only arguments (
z,xt) are optional hooks for deterministic sampling and stochastic correction terms respectively. Deterministic paths may safely ignore them.