Skip to content

Commit

Permalink
Add latent_dim to abstract GWModule for auto-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bdvllrs committed Dec 14, 2023
1 parent 6e8095f commit 663a525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shimmer/modules/gw_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def forward(self, x: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:

class GWModule(nn.Module):
domain_descr: Mapping[str, DomainDescription]
latent_dim: int

def fusion_mechanism(self, x: Mapping[str, torch.Tensor]) -> torch.Tensor:
raise NotImplementedError
Expand Down

0 comments on commit 663a525

Please sign in to comment.