sandeep-krishnamurthy closed pull request #12513: Disable Flaky Test: 
test_contrib_svrg_module.test_svrgmodule_reshape
URL: https://github.com/apache/incubator-mxnet/pull/12513
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/python/unittest/test_contrib_svrg_module.py 
b/tests/python/unittest/test_contrib_svrg_module.py
index d9e0abaebb2..dd4618e2e82 100644
--- a/tests/python/unittest/test_contrib_svrg_module.py
+++ b/tests/python/unittest/test_contrib_svrg_module.py
@@ -20,7 +20,7 @@
 from common import with_seed, assertRaises
 from mxnet.contrib.svrg_optimization.svrg_module import SVRGModule
 from mxnet.test_utils import *
-
+import unittest
 
 def setup():
     train_data = np.random.randint(1, 5, [1000, 2])
@@ -134,6 +134,7 @@ def test_module_save_load():
     assert mod3._symbol.tojson() == mod4._symbol.tojson()
 
 
[email protected]("Flaky test 
https://github.com/apache/incubator-mxnet/issues/12510";)
 @with_seed()
 def test_svrgmodule_reshape():
     data = mx.sym.Variable("data")
@@ -289,6 +290,7 @@ def test_accumulate_kvstore():
     assert same(svrg_mod._param_dict[0]["fc1_weight"], b[0])
 
 
[email protected]("Flaky test 
https://github.com/apache/incubator-mxnet/issues/12510";)
 @with_seed()
 def test_fit():
     di, mod = setup()


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to