You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/09/17 22:57:28 UTC
[GitHub] [incubator-mxnet] Kh4L commented on a change in pull request
#16185: Add list_ctx to ParameterDict
Kh4L commented on a change in pull request #16185: Add list_ctx to ParameterDict
URL: https://github.com/apache/incubator-mxnet/pull/16185#discussion_r325420620
##########
File path: tests/python/unittest/test_gluon.py
##########
@@ -135,6 +135,17 @@ def test_parameter_dict():
mx.test_utils.assert_almost_equal(prev_w0.asnumpy(), cur_w0.asnumpy())
mx.test_utils.assert_almost_equal(prev_w1.asnumpy(), cur_w1.asnumpy())
+ # test reset_ctx
Review comment:
Added `assert` relying on the previously tested `Parameter.list_ctx`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services