We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45519f6 commit b9bb00bCopy full SHA for b9bb00b
backends/arm/tosa/dialect/lib.py
@@ -51,9 +51,9 @@ def not_callable():
51
52
53
class TosaValueError(ValueError):
54
- def __init__(self, message="A TOSA value error occurred", *args, **kwargs):
55
- super().__init__(message, *args, **kwargs)
56
- self.op = kwargs.get("op", None)
+ def __init__(self, message="A TOSA value error occurred", *args, op=None):
+ super().__init__(message, *args)
+ self.op = op
57
58
def __str__(self):
59
base_message = super().__str__()
0 commit comments