dsipts.models.d3vae.diffusion_process module¶
- Authors:
Li,Yan (liyan22021121@gmail.com)
- dsipts.models.d3vae.diffusion_process.get_beta_schedule(beta_schedule, beta_start, beta_end, num_diffusion_timesteps)[source]¶
- class dsipts.models.d3vae.diffusion_process.GaussianDiffusion(bvae, input_size, beta_start=0, beta_end=0.1, diff_steps=100, loss_type='l2', betas=None, scale=0.1, beta_schedule='linear')[source]¶
Bases:
Module- Params:
bave: The bidirectional vae model. beta_start: The start value of the beta schedule. beta_end: The end value of the beta schedule. beta_schedule: the kind of the beta schedule, here are fixed to linear, you can adjust it as needed. diff_steps: The maximum diffusion steps. scale: scale parameters for the target time series.
- __init__(bvae, input_size, beta_start=0, beta_end=0.1, diff_steps=100, loss_type='l2', betas=None, scale=0.1, beta_schedule='linear')[source]¶
- Params:
bave: The bidirectional vae model. beta_start: The start value of the beta schedule. beta_end: The end value of the beta schedule. beta_schedule: the kind of the beta schedule, here are fixed to linear, you can adjust it as needed. diff_steps: The maximum diffusion steps. scale: scale parameters for the target time series.