a33fc33524819dc524223863f2d52eebe5b4eee3,tests/chainer_tests/testing_tests/test_function_link.py,FuncGradCorrectlyImplemented,forward,#FuncGradCorrectlyImplemented#Any#,168
Before Change
if device.xp is chainerx:
fallback_device = device.fallback_device
supported_array_types = fallback_device.supported_array_types
assert (gy1 is None if self.expect_grad_outputs_none[0]
else isinstance(gy1, supported_array_types))
assert (gy2 is None if self.expect_grad_outputs_none[1]
else isinstance(gy2, supported_array_types))
self.retain_inputs((0, 1, 2, 3))
After Change
if device.xp is chainerx:
fallback_device = device.fallback_device
_check_grads(
(gy1, gy2), self.expect_grad_outputs_none,
fallback_device.supported_array_types)
self.retain_inputs((0, 1, 2, 3))
ggx1, ggx2 = _backward_correct(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: chainer/chainer
Commit Name: a33fc33524819dc524223863f2d52eebe5b4eee3
Time: 2019-07-31
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: tests/chainer_tests/testing_tests/test_function_link.py
Class Name: FuncGradCorrectlyImplemented
Method Name: forward
Project Name: chainer/chainer
Commit Name: a33fc33524819dc524223863f2d52eebe5b4eee3
Time: 2019-07-31
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: tests/chainer_tests/testing_tests/test_function_link.py
Class Name: FuncGradCorrectlyImplemented
Method Name: backward
Project Name: chainer/chainer
Commit Name: a33fc33524819dc524223863f2d52eebe5b4eee3
Time: 2019-07-31
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: tests/chainer_tests/testing_tests/test_function_link.py
Class Name: FuncCorrectlyImplemented
Method Name: backward