You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/08/03 03:48:00 UTC
[incubator-mxnet] branch master updated: removed seed from flaky
test (#11975)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 1818280 removed seed from flaky test (#11975)
1818280 is described below
commit 1818280d33201ee369a41ab1be324e22b162c46f
Author: Ankit Khedia <36...@users.noreply.github.com>
AuthorDate: Thu Aug 2 20:47:50 2018 -0700
removed seed from flaky test (#11975)
---
tests/python/unittest/test_operator.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py
index 418951f..90e85d1 100644
--- a/tests/python/unittest/test_operator.py
+++ b/tests/python/unittest/test_operator.py
@@ -4963,8 +4963,9 @@ def _make_lower_triangle_symm(a, ndims, m, dtype=np.float32):
lt_mask = mx.sym.reshape(lt_mask, shape=shp)
return mx.sym.broadcast_mul(a, lt_mask)
-# Seed set because the test is not robust enough to operate on random data
-@with_seed(42)
+# @ankkhedia: Getting rid of fixed seed as flakiness could not be reproduced
+# tracked at https://github.com/apache/incubator-mxnet/issues/11718
+@with_seed()
def test_laop():
dtype = np.float64
rtol_fw = 1e-7