677e510defc66f33a7e6cfd3c4289c745ebe1964,tests/links_tests/update_tests/test_mpnn_update.py,,check_backward,#Any#Any#Any#Any#,111

Before Change


    
    atom = chainer.Variable(atom_data)
    adj = chainer.Variable(adj_data)
    update.reset_state()
    y = update(atom, adj)
    y.grad = y_grad
    y.backward()

After Change


    def f(*args, **kwargs):
        update.reset_state()
        return update(*args, **kwargs)
    gradient_check.check_backward(
        f, (atom_data, adj_data), y_grad, atol=1e-1, rtol=1e-1)


def test_backward_cpu(update, data):
    // type: (MPNNUpdate, Tuple[numpy.ndarray, numpy.ndarray, numpy.ndarray, numpy.ndarray]) -> None  // NOQA
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


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_mpnn_update.py
Class Name:
Method Name: check_backward


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


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: check_backward


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: check_backward


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_mpnn_update.py
Class Name:
Method Name: check_backward


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