Skip to content

Commit

Permalink
using to_homogeneous instead of the old deprecated name. (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijpulidos authored Jul 14, 2023
1 parent 5b5fb04 commit 7165038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espaloma/nn/sequential.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def forward(self, g, x=None):
import dgl

# get homogeneous subgraph
g_ = dgl.to_homo(g.edge_type_subgraph(["n1_neighbors_n1"]))
g_ = dgl.to_homogeneous(g.edge_type_subgraph(["n1_neighbors_n1"]))

if x is None:
# get node attributes
Expand Down

0 comments on commit 7165038

Please sign in to comment.