Skip to content

Commit

Permalink
Correctly propagate kwargs in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanradev93 committed May 17, 2024
1 parent 39690b2 commit ac7b66e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ def __init__(
transform: str,
**kwargs
):
super().__init__(**kwargs)
super().__init__()

self.half_dim = half_dim
self.subnet = find_subnet(
subnet=subnet_builder,
transform=transform,
output_dim=half_dim,
**kwargs.pop('subnet_kwargs', {})
**kwargs.pop('subnet_settings', {})
)
self.transform = find_transform(transform)

Expand Down

0 comments on commit ac7b66e

Please sign in to comment.