Skip to content

Commit

Permalink
Update Base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArCho48 authored Dec 12, 2024
1 parent 70fb88f commit d579020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydragnn/models/Base.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _embedding(self, data):
if self.use_global_attn:
# encode node positional embeddings
x = self.pos_emb(data.pe)
# if node features are available, generate mebeddings, concatenate with positional embeddings and map to hidden dim
# if node features are available, generate embeddings, concatenate with positional embeddings and map to hidden dim
if self.input_dim:
x = torch.cat((self.node_emb(data.x.float()), x), 1)
x = self.node_lin(x)
Expand Down

0 comments on commit d579020

Please sign in to comment.