diffusion_models.gaussian_diffusion.base_diffuser
Module Contents
- class BaseDiffuser(beta_scheduler)[source]
Initializes the object with the specified beta scheduler.
BaseDiffuser is an abstract base class for different diffuser implementations. It defines the interface that all diffusers should adhere to.
- Parameters:
beta_scheduler (BaseBetaScheduler) – The beta scheduler used by the diffuser.
Warning
Do not instantiate this class directly. Instead, build your own Diffuser by inheriting from BaseDiffuser. (see
GaussianDiffuser
)- beta_scheduler: BaseBetaScheduler[source]
The beta scheduler used by the diffuser.