66d28b476f24f84a9b3a88ad0bf60a2a0c5bc720,test/nn/conv/test_agnn_conv.py,,test_agnn_conv,#,5

Before Change


    out = conv(x, edge_index)
    assert out.size() == (num_nodes, in_channels)

    jit_conv = conv.jittable(x=x, edge_index=edge_index)
    jit_conv = torch.jit.script(jit_conv)
    assert jit_conv(x, edge_index).tolist() == out.tolist()

    conv = AGNNConv(requires_grad=False)
    out = conv(x, edge_index)
    assert out.size() == (num_nodes, in_channels)

    jit_conv = conv.jittable(x=x, edge_index=edge_index)
    jit_conv = torch.jit.script(jit_conv)
    assert jit_conv(x, edge_index).tolist() == out.tolist()

After Change


    out = conv(x, edge_index)
    assert out.size() == (num_nodes, in_channels)

    jit = torch.jit.script(conv.jittable())
    assert jit(x, edge_index).tolist() == out.tolist()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 66d28b476f24f84a9b3a88ad0bf60a2a0c5bc720
Time: 2020-06-14
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_agnn_conv.py
Class Name:
Method Name: test_agnn_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: 24d7e74b177b1c4fb277d360e320ddedc6a0c150
Time: 2020-06-15
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_tag_conv.py
Class Name:
Method Name: test_tag_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: b43b428cbea4bb7d360b7a18353068e74e59972b
Time: 2020-06-15
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_dna_conv.py
Class Name:
Method Name: test_dna_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: 24d7e74b177b1c4fb277d360e320ddedc6a0c150
Time: 2020-06-15
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_signed_conv.py
Class Name:
Method Name: test_signed_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: 66d28b476f24f84a9b3a88ad0bf60a2a0c5bc720
Time: 2020-06-14
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_agnn_conv.py
Class Name:
Method Name: test_agnn_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: 24d7e74b177b1c4fb277d360e320ddedc6a0c150
Time: 2020-06-15
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_sg_conv.py
Class Name:
Method Name: test_sg_conv