Diffusers documentation

CosineDPMSolverMultistepScheduler

You are viewing main version, which requires installation from source. If you'd like regular pip install, checkout the latest stable version (v0.43.0).
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

CosineDPMSolverMultistepScheduler

CosineDPMSolverMultistepScheduler 是 DPMSolverMultistepScheduler 的余弦调度变体,由 Nichol 和 Dhariwal(2021)提出。 它被用于 Stable Audio Open 论文以及 Stability-AI/stable-audio-tool 代码库中。

此调度器由 Yoach Lacombe 贡献。

CosineDPMSolverMultistepScheduler

类 diffusers.CosineDPMSolverMultistepScheduler

< >

( *args**kwargs )

SchedulerOutput

class diffusers.schedulers.scheduling_utils.SchedulerOutput

< >

( prev_sample: Tensor )

参数

  • prev_sample(对于图像,形状为 (batch_size, num_channels, height, width) 的 torch.Tensor)— 前一时间步的已计算样本 (x_{t-1})。在去噪循环中,应将 prev_sample 用作下一个模型输入。

调度器 step 函数输出的基类。

Update on GitHub