Skip to content

Commit

Permalink
Fix issue "UserWarning: Positional args are being deprecated, use kwa…
Browse files Browse the repository at this point in the history
  • Loading branch information
V0XNIHILI committed Mar 28, 2023
1 parent c65f9c1 commit e96f6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/brevitas/quant_tensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def training(self):
else:
return None

@classmethod
def __torch_function__(self, func, types, args=(), kwargs=None):
if kwargs is None:
kwargs = {}
Expand Down

0 comments on commit e96f6df

Please sign in to comment.