Skip to content

Commit

Permalink
Add type to VGAE.embed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeladuta committed Nov 6, 2024
1 parent 4678681 commit 5388117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l2gv2/embedding/embeddings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Module for embedding patches using the VGAE model """
import torch
import torch_geometric as tg
from l2gv2.models import speye, VGAEconv
from l2gv2.models import speye, VGAEconv, Patch

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

Expand Down Expand Up @@ -56,7 +56,7 @@ def embed(
dim: int=100,
hidden_dim: int=32,
decoder=None
):
) -> tuple[list[Patch], list[torch.nn.Module]]:

""" TODO: docstring for `embed`
Args:
Expand Down

0 comments on commit 5388117

Please sign in to comment.