diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-06-05 21:20:16 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-06-05 21:20:16 +0200 |
commit | bdda28c77798d3c08913fd9c9059710f288e0e41 (patch) | |
tree | e5d3f3664db8ebb69e15388260b3c1801ef816fc /text_recognizer/networks/conformer | |
parent | 425af1bce8362efd97682a5042e76a60bfc28060 (diff) |
Fix kwargs
Diffstat (limited to 'text_recognizer/networks/conformer')
-rw-r--r-- | text_recognizer/networks/conformer/scale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/networks/conformer/scale.py b/text_recognizer/networks/conformer/scale.py index da736a3..d012b81 100644 --- a/text_recognizer/networks/conformer/scale.py +++ b/text_recognizer/networks/conformer/scale.py @@ -9,5 +9,5 @@ class Scale(nn.Module): self.scale = scale self.fn = fn - def forward(self, x: Tensor, kwargs: Dict) -> Tensor: + def forward(self, x: Tensor, **kwargs) -> Tensor: return self.fn(x, **kwargs) * self.scale |