Skip to content

Commit 563217a

Browse files
authored
fix (#4077)
1 parent d41376c commit 563217a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlespeech/t2s/modules/tacotron2/attentions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def forward(
174174
att_prev = att_prev / enc_hs_len.unsqueeze(-1).astype(
175175
att_prev.dtype)
176176
else:
177-
att_prev.unsqueeze(-1)
177+
att_prev = att_prev.unsqueeze(-1)
178178

179179
# att_prev: (utt, frame) -> (utt, 1, 1, frame)
180180
# -> (utt, att_conv_chans, 1, frame)

0 commit comments

Comments
 (0)