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 2020/07/10 06:39:06 UTC

[GitHub] [incubator-mxnet] wkcn commented on issue #18685: mx.symbol.numpy._Symbol.__deepcopy__ logic error

wkcn commented on issue #18685:
URL: https://github.com/apache/incubator-mxnet/issues/18685#issuecomment-656511012


   Agree the expected result, which is consistent with `mx.nd`:
   ```python
   import mxnet as mx
   import copy
   
   v = mx.nd.array([1,2,3]).as_np_ndarray()
   b = copy.copy(v)
   b[0] = 10
   print(b) # [10. 2. 3.]
   print(v) # [1. 2. 3.]
   ```


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