pulsatrix 1.1.0
Loading...
Searching...
No Matches
noise_schedule.hpp File Reference

DDPM noise schedules (linear and cosine): precomputed beta/alpha/alpha_bar, forward noising, and DDPM and DDIM reverse steps. More...

#include <cstdint>
#include <vector>
#include "pulsatrix/device_backend.hpp"
#include "pulsatrix/tensor.hpp"
Include dependency graph for noise_schedule.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pulsatrix::ReverseStepCoefficients
 One reverse step as x_prev = skip * x_t - network * eps_theta + noise * z (DIFF-5). DDPM and DDIM steps both have this form; only the coefficients differ. More...
 
class  pulsatrix::NoiseSchedule
 The DDPM (Ho et al. 2020, arXiv:2006.11239) linear variance schedule plus the two tensor operations defined directly on top of it – closed-form forward noising and the reverse (sampling) step. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

DDPM noise schedules (linear and cosine): precomputed beta/alpha/alpha_bar, forward noising, and DDPM and DDIM reverse steps.