mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
c599a30b07
commit
3d87d438fc
Binary file not shown.
Binary file not shown.
@ -263,6 +263,7 @@ class Transformer(nn.Module):
|
|||||||
sos_id: int,
|
sos_id: int,
|
||||||
eos_id: int,
|
eos_id: int,
|
||||||
warmup: float = 1.0,
|
warmup: float = 1.0,
|
||||||
|
return_output: bool = False,
|
||||||
) -> torch.Tensor:
|
) -> torch.Tensor:
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user