From 45411e21c476e4957af7fac39c924093a0ae937d Mon Sep 17 00:00:00 2001 From: luobao-intel Date: Fri, 31 Aug 2018 11:09:18 +0800 Subject: [PATCH 1/2] test_activation_rec_eps --- tests/python/mkl/test_mkldnn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/mkl/test_mkldnn.py b/tests/python/mkl/test_mkldnn.py index e597d0f5fc58..f8559aecbbe7 100644 --- a/tests/python/mkl/test_mkldnn.py +++ b/tests/python/mkl/test_mkldnn.py @@ -292,7 +292,7 @@ def check_activation_training(stype): in_location = [mx.nd.array(data_tmp).tostype(stype)] test = mx.symbol.Activation(data, act_type="relu") - check_numeric_gradient(test, in_location, numeric_eps=1e-2, rtol=0.16, atol=1e-4) + check_numeric_gradient(test, in_location, numeric_eps=1e-6, rtol=0.16, atol=1e-4) stypes = ['row_sparse', 'default'] for stype in stypes: From 217e9ec35272cbdb00bab2b904fa69cc7f2b3334 Mon Sep 17 00:00:00 2001 From: luobao-intel Date: Fri, 31 Aug 2018 12:54:03 +0800 Subject: [PATCH 2/2] enable case --- tests/python/mkl/test_mkldnn.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/python/mkl/test_mkldnn.py b/tests/python/mkl/test_mkldnn.py index f8559aecbbe7..17fc29c81114 100644 --- a/tests/python/mkl/test_mkldnn.py +++ b/tests/python/mkl/test_mkldnn.py @@ -281,7 +281,6 @@ def check_pooling_training(stype): check_pooling_training(stype) -@unittest.skip("Flaky test: https://github.com/apache/incubator-mxnet/issues/12377") @with_seed() def test_activation(): def check_activation_training(stype):