Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Jan 15, 2025
1 parent 3ea4b03 commit d26ca42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/brevitas/graph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from brevitas.fx import immutable_dict
from brevitas.fx import Node
from brevitas.graph.utils import *
from brevitas.nn import ScaledDotProductAttention
from brevitas.utils.python_utils import islambda
from brevitas.utils.rotation_utils import RotationWeightParametrization

Expand Down Expand Up @@ -122,7 +121,6 @@ def _map_origin_vars(self, vars: dict):

def _module_attributes(self, module):
attrs = vars(module)

# workaround since bias doesn't show up on vars of Linear
if hasattr(module, 'bias'):
attrs['bias'] = module.bias
Expand Down

0 comments on commit d26ca42

Please sign in to comment.