summaryrefslogtreecommitdiff
path: root/text_recognizer/networks
diff options
context:
space:
mode:
Diffstat (limited to 'text_recognizer/networks')
-rw-r--r--text_recognizer/networks/conformer/scale.py2
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