mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
batch
This commit is contained in:
parent
f4f545b724
commit
0454015357
@ -365,7 +365,7 @@ class MultiHeadedAttentionSANMDecoder(nn.Module):
|
||||
self.pad_fn = nn.ConstantPad1d((left_padding, right_padding), 0.0)
|
||||
self.kernel_size = kernel_size
|
||||
|
||||
def forward(self, inputs, mask, cache=None, mask_shfit_chunk=None):
|
||||
def forward(self, inputs, mask, cache=None, mask_shfit_chunk=None, **kwargs):
|
||||
"""
|
||||
:param x: (#batch, time1, size).
|
||||
:param mask: Mask tensor (#batch, 1, time)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user