VariationalRFScheduler<T>
Models & Types ยท AiDotNet.Diffusion.Schedulers
Variational Rectified Flow scheduler with learned time-dependent noise injection.
Inheritance: NoiseSchedulerBase<T> โ VariationalRFScheduler<T>
For Beginners
This scheduler adds a controlled amount of randomness to rectified flow sampling. Pure deterministic sampling can sometimes produce less diverse results. This scheduler adds just enough randomness to improve variety without hurting quality.
How It Works
Extends rectified flow with a variational formulation that allows controlled stochasticity at each step. The noise injection level is modulated by a learned schedule, improving diversity while maintaining sample quality.
Constructors
| Constructor | Summary |
|---|---|
VariationalRFScheduler(SchedulerConfig<T> config, double noiseScale) |
Methods
| Method | Summary |
|---|---|
Vector<T> Step(Vector<T> modelOutput, int timestep, Vector<T> sample, T eta, Vector<T> noise) |