Update docstring (#1971)

This commit is contained in:
Walter Hugo Lopez Pinaya
2023-01-12 20:01:40 +00:00
committed by GitHub
parent f73ed17961
commit 9a5d3322e7
+1 -2
View File
@@ -84,8 +84,7 @@ class PNDMScheduler(SchedulerMixin, ConfigMixin):
otherwise it uses the value of alpha at step 0. otherwise it uses the value of alpha at step 0.
prediction_type (`str`, default `epsilon`, optional): prediction_type (`str`, default `epsilon`, optional):
prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion
process), `sample` (directly predicting the noisy sample`) or `v_prediction` (see section 2.4 process) or `v_prediction` (see section 2.4 https://imagen.research.google/video/paper.pdf)
https://imagen.research.google/video/paper.pdf)
steps_offset (`int`, default `0`): steps_offset (`int`, default `0`):
an offset added to the inference steps. You can use a combination of `offset=1` and an offset added to the inference steps. You can use a combination of `offset=1` and
`set_alpha_to_one=False`, to make the last step use step 0 for the previous alpha product, as done in `set_alpha_to_one=False`, to make the last step use step 0 for the previous alpha product, as done in