learned diffusion model.


timestep (int) — current discrete timestep in the diffusion chain.


sample (torch.FloatTensor) —
current instance of sample being created by diffusion process.
generator — random number generator.


return_dict (bool) — option for returning tuple rather than DDPMSchedulerOutput class


Returns

~schedulers.scheduling_utils.DDPMSchedulerOutput or tuple



~schedulers.scheduling_utils.DDPMSchedulerOutput if return_dict