ExFMScheduler<T>

Models & Types · AiDotNet.Diffusion.Schedulers

ExFM (Exponential Flow Matching) scheduler with exponential time discretization.

Inheritance: NoiseSchedulerBase<T> → ExFMScheduler<T>

For Beginners

ExFM places more computation effort on the final “polishing” steps where fine details are added, and less on the early steps where just the rough shape forms. This produces sharper images with the same number of total steps.

How It Works

Uses a non-uniform (quadratic, t_i = (1 - i/N)^2) time discretization instead of uniform spacing for flow matching. This concentrates more steps near t=0 (clean data) where fine details matter and fewer steps near t=1 (noise) where coarse structure is determined.

Constructors

Constructor Summary
ExFMScheduler(SchedulerConfig<T> config)

Methods

Method Summary
Vector<T> Step(Vector<T> modelOutput, int timestep, Vector<T> sample, T eta, Vector<T> noise)
void SetTimesteps(int inferenceSteps)