bc9da61d8c8c2df4c3a31dad92d44ace8dc1c4c5,test/data/test_sampler.py,,test_cora,#,50
Before Change
model = Net()
out_all = model.forward_all(data.x, data.edge_index)
print(out_all[0] )
for data_flow in loader(torch.tensor([0])):
x = data.x[data_flow[0].n_id]
After Change
def test_cora():
root = osp.join("/", "tmp", str(random.randrange(sys.maxsize)))
dataset = Planetoid(root, "Cora")
data = dataset[0]
loader = NeighborSampler(data, size=1.0, num_hops=3, batch_size=64,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: rusty1s/pytorch_geometric
Commit Name: bc9da61d8c8c2df4c3a31dad92d44ace8dc1c4c5
Time: 2019-07-09
Author: matthias.fey@tu-dortmund.de
File Name: test/data/test_sampler.py
Class Name:
Method Name: test_cora
Project Name: commonsense/conceptnet5
Commit Name: 2a437760c9344a20a5785f5b4706950c911534b6
Time: 2015-04-08
Author: rob@luminoso.com
File Name: conceptnet5/formats/sql.py
Class Name: EdgeIndexReader
Method Name: random
Project Name: ysig/GraKeL
Commit Name: 34f48a46d4d27c92c7290a211e6bbe608e718552
Time: 2017-11-20
Author: y.siglidis@gmail.com
File Name: grakel/kernels.py
Class Name:
Method Name: sample_graphlets