File tree Expand file tree Collapse file tree
gigaspeech/ASR/conformer_ctc
tedlium3/ASR/conformer_ctc2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -545,6 +545,7 @@ def forward(
545545 memory_mask : Optional [torch .Tensor ] = None ,
546546 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
547547 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
548+ ** kwargs ,
548549 ) -> torch .Tensor :
549550 """Pass the inputs (and mask) through the decoder layer.
550551
Original file line number Diff line number Diff line change @@ -545,6 +545,7 @@ def forward(
545545 memory_mask : Optional [torch .Tensor ] = None ,
546546 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
547547 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
548+ ** kwargs ,
548549 ) -> torch .Tensor :
549550 """Pass the inputs (and mask) through the decoder layer.
550551
Original file line number Diff line number Diff line change @@ -549,6 +549,7 @@ def forward(
549549 memory_mask : Optional [torch .Tensor ] = None ,
550550 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
551551 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
552+ ** kwargs ,
552553 ) -> torch .Tensor :
553554 """Pass the inputs (and mask) through the decoder layer.
554555
Original file line number Diff line number Diff line change @@ -549,6 +549,7 @@ def forward(
549549 memory_mask : Optional [torch .Tensor ] = None ,
550550 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
551551 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
552+ ** kwargs ,
552553 ) -> torch .Tensor :
553554 """Pass the inputs (and mask) through the decoder layer.
554555
Original file line number Diff line number Diff line change @@ -550,6 +550,7 @@ def forward(
550550 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
551551 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
552552 warmup : float = 1.0 ,
553+ ** kwargs ,
553554 ) -> torch .Tensor :
554555 """Pass the inputs (and mask) through the decoder layer.
555556
Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ def forward(
537537 memory_mask : Optional [torch .Tensor ] = None ,
538538 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
539539 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
540+ ** kwargs ,
540541 ) -> torch .Tensor :
541542 """Pass the inputs (and mask) through the decoder layer.
542543
Original file line number Diff line number Diff line change @@ -567,6 +567,7 @@ def forward(
567567 memory_mask : Optional [torch .Tensor ] = None ,
568568 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
569569 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
570+ ** kwargs ,
570571 ) -> torch .Tensor :
571572 """Pass the inputs (and mask) through the decoder layer.
572573
Original file line number Diff line number Diff line change @@ -612,6 +612,7 @@ def forward(
612612 tgt_key_padding_mask : Optional [torch .Tensor ] = None ,
613613 memory_key_padding_mask : Optional [torch .Tensor ] = None ,
614614 warmup : float = 1.0 ,
615+ ** kwargs ,
615616 ) -> torch .Tensor :
616617 """Pass the inputs (and mask) through the decoder layer.
617618
You can’t perform that action at this time.
0 commit comments