espnet2.tts.prodiff.denoiser.Mish
Less than 1 minute
espnet2.tts.prodiff.denoiser.Mish
class espnet2.tts.prodiff.denoiser.Mish(*args, **kwargs)
Bases: Module
Mish Activation Function.
Introduced in
`Mish: A Self Regularized Non-Monotonic Activation Function`_
.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(x: Tensor) → Tensor
Calculate forward propagation.
- Parameters:x (torch.Tensor) – Input tensor.
- Returns: Output tensor.
- Return type: torch.Tensor