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/06/05 23:03:56 UTC

[GitHub] [incubator-mxnet] eric-haibin-lin commented on a change in pull request #15156: fix kvstore nightly failure

eric-haibin-lin commented on a change in pull request #15156: fix kvstore nightly failure
URL: https://github.com/apache/incubator-mxnet/pull/15156#discussion_r290968140
 
 

 ##########
 File path: docs/tutorials/python/kvstore.md
 ##########
 @@ -86,7 +86,7 @@ print(a.asnumpy())
 `[[ 4.  4.  4.],[ 4.  4.  4.]]`<!--notebook-skip-line-->
 
 ```python
-kv.push(3, mx.nd.ones(shape))
+kv.push(3, mx.nd.ones(shape, contexts[0]))
 
 Review comment:
   I think we should make the tutorial simpler, just demonstrating pushing a list of cpu arrays to kvstore and pull the result. 

----------------------------------------------------------------
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