mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
bug fix
This commit is contained in:
1 parent
8f6721a1ff
commit
afb5a17221
1 file changed
+1
@@ -251,6 +251,7 @@ class Attention(nn.Module):
|
||||
else:
|
||||
context = torch.bmm(alignment.unsqueeze(1), inputs)
|
||||
context = context.squeeze(1)
|
||||
self.attention_weights = alignment
|
||||
return context
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user