DiscretizedRFScheduler<T>

Models & Types ยท AiDotNet.Diffusion.Schedulers

Discretized Rectified Flow scheduler with optimized timestep selection.

Inheritance: NoiseSchedulerBase<T> โ†’ DiscretizedRFScheduler<T>

For Beginners

This scheduler picks the best timesteps to use when converting the continuous flow path into discrete steps. By choosing timesteps more carefully, it gets better results with fewer steps compared to uniform spacing.

How It Works

Uses a learned or heuristic discretization of the continuous rectified flow ODE that minimizes truncation error. Timesteps are selected to minimize the difference between discrete and continuous ODE solutions.

Constructors

Constructor Summary
DiscretizedRFScheduler(SchedulerConfig<T> config)

Methods

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