torch.Generator, optional) — random number generator.


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


Returns

~schedulers.scheduling_utils.RePaintSchedulerOutput or tuple



~schedulers.scheduling_utils.RePaintSchedulerOutput if return_dict is True, otherwise a tuple. When
returning a tuple, the first element is the sample tensor.


Predict the sample at the previous timestep by reversing the SDE. Core