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


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


eta (float) — weight of noise for added noise in diffusion step.


use_clipped_model_output (bool) — if True, compute “corrected” model_output from the clipped
predicted original sample. Necessary because predicted original sample is clipped to [-1, 1] when
self.config.clip_sample is True. I