Diffusers.BetaSchedules.cosine_beta_schedule
— FunctionCosine beta schedule.
Input
T::Int
: number of timestepsβₘₐₓ::Real=0.999f0
: maximum value of βϵ::Real=1.0f-3
: small value used to avoid division by zero
Output
β::Vector{Real}
: βₜ values at each timestep t
References
Diffusers.BetaSchedules.exponential_beta_schedule
— FunctionExponential beta schedule.
Input
T::Int
: number of timestepsβₘₐₓ::Real=0.999f0
: maximum value of β
Output
β::Vector{Real}
: βₜ values at each timestep t
References
Diffusers.BetaSchedules.linear_beta_schedule
— FunctionLinear beta schedule.
Input
T::Integer
: number of timestepsβ₁::Real=1.0f-4
: initial (t=1) value of ββ₋₁::Real=2.0f-2
: final (t=T) value of β
Output
β::Vector{Real}
: βₜ values at each timestep t
References
Diffusers.BetaSchedules.rescale_zero_terminal_snr
— MethodRescale betas to have zero terminal Signal to Noise Ratio (SNR).
Input
β::AbstractArray
: βₜ values at each timestep t
Output
β::Vector{Real}
: rescaled βₜ values at each timestep t
References
Diffusers.BetaSchedules.scaled_linear_beta_schedule
— FunctionScaled linear beta schedule.
Input
T::Int
: number of timestepsβ₁::Real=1.0f-4
: initial value of ββ₋₁::Real=2.0f-2
: final value of β
Output
β::Vector{Real}
: βₜ values at each timestep t
References
Diffusers.BetaSchedules.sigmoid_beta_schedule
— FunctionSigmoid beta schedule.
Input
T::Int
: number of timestepsβ₁::Real=1.0f-4
: initial value of ββ₋₁::Real=2.0f-2
: final value of β
Output
β::Vector{Real}
: βₜ values at each timestep t
References