Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Nov 16, 2023
1 parent 712f99a commit 2a57c21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/brevitas/nn/quant_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
from .quant_layer import QuantNonLinearActLayer as QuantNLAL


# Starting from Torch 2.0, nn.Module init function accepts custom *args and **kwargs
# torch.nn.Sigmoid does not provide its own init method, and the presence of *args + **kwargs
# conflicts with the dependency injection package
class Sigmoid(nn.Sigmoid):

def __init__():
Expand Down

0 comments on commit 2a57c21

Please sign in to comment.