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
f975150f19
commit
d90ec45e33
Binary file not shown.
Binary file not shown.
@ -236,7 +236,7 @@ class Transformer(nn.Module):
|
|||||||
|
|
||||||
return x, mask
|
return x, mask
|
||||||
|
|
||||||
def ctc_output(self, x: torch.Tensor) -> torch.Tensor:
|
def ctc_output(self, x: torch.Tensor, log_prob: bool = True) -> torch.Tensor:
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
x:
|
x:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user