espnet2.tts.prodiff.loss.gaussian
Less than 1 minute
espnet2.tts.prodiff.loss.gaussian
espnet2.tts.prodiff.loss.gaussian(window_size: int, sigma: float) → Tensor
Gaussian Noise.
- Parameters:
- window_size (int) – Window size.
- sigma (float) – Noise sigma.
- Returns: Noise.
- Return type: torch.Tensor