mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 16:14:17 +00:00
Fix for black
This commit is contained in:
parent
42e6efe4ee
commit
45daf1c73a
@ -125,10 +125,7 @@ class Decoder(nn.Module):
|
|||||||
return embedding_out + (k / (1 + k)).unsqueeze(2) * self.repeat_param
|
return embedding_out + (k / (1 + k)).unsqueeze(2) * self.repeat_param
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self, y: torch.Tensor, k: torch.Tensor, need_pad: bool = True
|
||||||
y: torch.Tensor,
|
|
||||||
k: torch.Tensor,
|
|
||||||
need_pad: bool = True
|
|
||||||
) -> torch.Tensor:
|
) -> torch.Tensor:
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user