mirror of https://github.com/coqui-ai/TTS.git
fix
This commit is contained in:
parent
e7fad928e7
commit
5a45af48f1
|
@ -7,7 +7,7 @@ from TTS.tts.layers.glow_tts.glow import LayerNorm
|
||||||
|
|
||||||
|
|
||||||
class RelativePositionMultiHeadAttention(nn.Module):
|
class RelativePositionMultiHeadAttention(nn.Module):
|
||||||
"""Multi-head attention with Relative Positional embedding.
|
"""Multi-head attention with Relative Positional embedding.
|
||||||
https://arxiv.org/pdf/1809.04281.pdf
|
https://arxiv.org/pdf/1809.04281.pdf
|
||||||
|
|
||||||
It learns positional embeddings for a window of neighbours. For keys and values,
|
It learns positional embeddings for a window of neighbours. For keys and values,
|
||||||
|
|
Loading…
Reference in New Issue