From 2f12358bcbd2bbad0590a60ef52b0b3559282ad1 Mon Sep 17 00:00:00 2001 From: aonotas Date: Fri, 25 Aug 2017 21:55:44 +0900 Subject: [PATCH] change atol,rtol values --- .../functions_tests/math_tests/test_exponential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/chainer_tests/functions_tests/math_tests/test_exponential.py b/tests/chainer_tests/functions_tests/math_tests/test_exponential.py index d2c1edcbef20..5f418df1fbe4 100644 --- a/tests/chainer_tests/functions_tests/math_tests/test_exponential.py +++ b/tests/chainer_tests/functions_tests/math_tests/test_exponential.py @@ -44,7 +44,7 @@ def check_backward_gpu(self, op): def check_double_backward(self, op, x_data, y_grad, y_grad_grad): gradient_check.check_double_backward( - op, x_data, y_grad, y_grad_grad, dtype='d') + op, x_data, y_grad, y_grad_grad, atol=1e-4, rtol=1e-3, dtype='d') def check_double_backward_cpu(self, op): self.check_double_backward(op, self.x, self.gy, self.ggy)