mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
Correct commnet
This commit is contained in:
1 parent
d43b4ccc1e
commit
7b9fd63649
1 file changed
+1
-1
+1
-1
@@ -13,8 +13,8 @@ class BahdanauAttention(nn.Module):
|
||||
def forward(self, annots, query):
|
||||
"""
|
||||
Shapes:
|
||||
- query: (batch, 1, dim) or (batch, dim)
|
||||
- annots: (batch, max_time, dim)
|
||||
- query: (batch, 1, dim) or (batch, dim)
|
||||
"""
|
||||
if query.dim() == 2:
|
||||
# insert time-axis for broadcasting
|
||||
|
||||
Reference in new issue
Block a user