Skip to content

Commit

Permalink
kwargs for the sub-autoencoders of MultiScaleAutoencoder
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Jul 21, 2023
1 parent b28f6de commit abd5f12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simulai/models/_pytorch_models/_autoencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,8 @@ def __init__(self,
shallow:bool=True,
scale: float = 1e-3,
devices:Union[str, List]="cpu",
name:str=None) -> None:
name:str=None,
**kwargs) -> None:

super(MultiScaleAutoencoder, self).__init__(name=name)

Expand All @@ -1805,6 +1806,7 @@ def __init__(self,
devices=devices,
shallow=shallow,
name=name,
**kwargs,
)

self.AutoencodersList.append(autoencoder)
Expand Down

0 comments on commit abd5f12

Please sign in to comment.