pull/4072/head
zxcd 4 months ago
parent 9718673528
commit 501bf1a562

@ -174,7 +174,7 @@ class AttLoc(nn.Layer):
att_prev = att_prev / enc_hs_len.unsqueeze(-1).astype(
att_prev.dtype)
else:
att_prev.unsqueeze(-1)
att_prev.unsqueeze(-1) # only for static graph
# att_prev: (utt, frame) -> (utt, 1, 1, frame)
# -> (utt, att_conv_chans, 1, frame)

Loading…
Cancel
Save