Skip to content

激活函数

为 🤗 Diffusers 中支持各种模型定制的激活函数。

GELU

[[autodoc]] models.activations.GELU

GEGLU

[[autodoc]] models.activations.GEGLU

ApproximateGELU

[[autodoc]] models.activations.ApproximateGELU