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 2018/01/20 07:31:31 UTC

[GitHub] sxjscience opened a new issue #9506: Using the same seed will generate different results on different devices

sxjscience opened a new issue #9506: Using the same seed will generate different results on different devices
URL: https://github.com/apache/incubator-mxnet/issues/9506
 
 
   ## Description
   ```python
   import mxnet as mx
   mx.random.seed(100)
   mx.random.normal(0, 1, 10, ctx=mx.gpu(0))
   ```
   ```
   import mxnet as mx
   mx.random.seed(100)
   mx.random.normal(0, 1, 10, ctx=mx.gpu(1))
   ```
   Outpus are:
   ```
   [ 1.25584686  1.6559217  -0.23459758  2.17555285 -0.03227777  1.22714317
    -0.62328464 -0.25426307 -0.17574236 -1.51271975]
   ```
   ```
   [ 1.2281065   0.87555045  2.41533399  0.52965516 -0.72066885  1.38201797
    -1.15983284 -1.01232433 -0.7621752  -0.86380237]
   ```
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services