955b353cd0140eb276b07f70ad2a13235286775b,examples/cora.py,,,#,9
Before Change
dataset = "Cora"
path = osp.join(osp.dirname(osp.realpath(__file__)), "..", "data", dataset)
data = Planetoid(path, dataset, T.TargetIndegree())[0]
data.train_mask = torch.zeros(data.num_nodes, dtype=torch.uint8)
data.train_mask[:data.num_nodes - 1000] = 1
data.val_mask = None
After Change
dataset = "Cora"
path = osp.join(osp.dirname(osp.realpath(__file__)), "..", "data", dataset)
dataset = Planetoid(path, dataset, T.TargetIndegree())
data = dataset[0]
data.train_mask = torch.zeros(data.num_nodes, dtype=torch.uint8)
data.train_mask[:data.num_nodes - 1000] = 1
data.val_mask = None
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 10
Instances
Project Name: rusty1s/pytorch_geometric
Commit Name: 955b353cd0140eb276b07f70ad2a13235286775b
Time: 2018-12-14
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora.py
Class Name:
Method Name:
Project Name: rusty1s/pytorch_geometric
Commit Name: 955b353cd0140eb276b07f70ad2a13235286775b
Time: 2018-12-14
Author: matthias.fey@tu-dortmund.de
File Name: examples/gcn.py
Class Name:
Method Name:
Project Name: rusty1s/pytorch_geometric
Commit Name: 955b353cd0140eb276b07f70ad2a13235286775b
Time: 2018-12-14
Author: matthias.fey@tu-dortmund.de
File Name: examples/agnn.py
Class Name:
Method Name:
Project Name: rusty1s/pytorch_geometric
Commit Name: 955b353cd0140eb276b07f70ad2a13235286775b
Time: 2018-12-14
Author: matthias.fey@tu-dortmund.de
File Name: examples/infomax.py
Class Name:
Method Name:
Project Name: rusty1s/pytorch_geometric
Commit Name: 955b353cd0140eb276b07f70ad2a13235286775b
Time: 2018-12-14
Author: matthias.fey@tu-dortmund.de
File Name: examples/gat.py
Class Name:
Method Name: