d2ccd218cf642c339f16d4f4845aeb4874bdb418,tests/compute/test_heterograph.py,,create_test_heterograph3,#Any#,75
Before Change
wishes_nx.add_edge("u0", "g1", id=0)
wishes_nx.add_edge("u2", "g0", id=1)
follows_g = dgl.graph([(0, 1), (1, 2)], "user", "follows",
idtype=idtype, device=device).formats("coo")
plays_g = dgl.bipartite([(0, 0), (1, 0), (2, 1), (1, 1)], "user", "plays", "game",
idtype=idtype, device=device).formats("coo")
wishes_g = dgl.bipartite([(0, 1), (2, 0)], "user", "wishes", "game",
idtype=idtype, device=device).formats("coo")
After Change
wishes_nx.add_edge("u0", "g1", id=0)
wishes_nx.add_edge("u2", "g0", id=1)
follows_g = dgl.graph([(0, 1), (1, 2)], "user", "follows",
idtype=idtype, device=device, formats="coo")
plays_g = dgl.bipartite([(0, 0), (1, 0), (2, 1), (1, 1)], "user", "plays", "game",
idtype=idtype, device=device, formats="coo")
wishes_g = dgl.bipartite([(0, 1), (2, 0)], "user", "wishes", "game",
idtype=idtype, device=device, formats="coo")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dmlc/dgl
Commit Name: d2ccd218cf642c339f16d4f4845aeb4874bdb418
Time: 2020-08-03
Author: expye@outlook.com
File Name: tests/compute/test_heterograph.py
Class Name:
Method Name: create_test_heterograph3
Project Name: dmlc/dgl
Commit Name: d2ccd218cf642c339f16d4f4845aeb4874bdb418
Time: 2020-08-03
Author: expye@outlook.com
File Name: tests/compute/test_heterograph.py
Class Name:
Method Name: test_subgraph
Project Name: dmlc/dgl
Commit Name: d2ccd218cf642c339f16d4f4845aeb4874bdb418
Time: 2020-08-03
Author: expye@outlook.com
File Name: tests/compute/test_heterograph.py
Class Name:
Method Name: test_format