7038ae40ddcb5b6f50097e4b0c33a39d2b6d3a72,tests/links_tests/update_tests/test_ggnn_update.py,,test_backward_gpu,#Any#Any#,130

Before Change



    if sparse_utils_available():
        sparse_adj = convert_to_sparse(adj_data)
        gx_sparse = check_backward(update, atom_data, sparse_adj, y_grad)

        numpy.testing.assert_allclose(
            cuda.to_cpu(gx_dense), cuda.to_cpu(gx_sparse),
            atol=1e-2, rtol=1e-2)

After Change



    if sparse_utils_available():
        sparse_adj = convert_to_sparse(adj_data)
        check_backward(update, atom_data, sparse_adj, y_grad)


def test_forward_cpu_graph_invariant(update, data):
    permutation_index = numpy.random.permutation(atom_size)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pfnet-research/chainer-chemistry
Commit Name: 7038ae40ddcb5b6f50097e4b0c33a39d2b6d3a72
Time: 2019-08-14
Author: acc1ssnn9terias@gmail.com
File Name: tests/links_tests/update_tests/test_ggnn_update.py
Class Name:
Method Name: test_backward_gpu


Project Name: pfnet-research/chainer-chemistry
Commit Name: 7038ae40ddcb5b6f50097e4b0c33a39d2b6d3a72
Time: 2019-08-14
Author: acc1ssnn9terias@gmail.com
File Name: tests/links_tests/update_tests/test_ggnn_update.py
Class Name:
Method Name: test_backward_cpu


Project Name: pfnet-research/chainer-chemistry
Commit Name: 677e510defc66f33a7e6cfd3c4289c745ebe1964
Time: 2019-08-14
Author: acc1ssnn9terias@gmail.com
File Name: tests/links_tests/update_tests/test_ggnn_update.py
Class Name:
Method Name: test_backward_cpu


Project Name: pfnet-research/chainer-chemistry
Commit Name: 677e510defc66f33a7e6cfd3c4289c745ebe1964
Time: 2019-08-14
Author: acc1ssnn9terias@gmail.com
File Name: tests/links_tests/update_tests/test_ggnn_update.py
Class Name:
Method Name: test_backward_gpu