[GitHub] CoinCheung commented on issue #9978: Error with random generator

2018-03-03 Thread GitBox
CoinCheung commented on issue #9978: Error with random generator
URL: 
https://github.com/apache/incubator-mxnet/issues/9978#issuecomment-370145440
 
 
   @asitstands 
   Ah, I see. Thanks a lot. I think this issue can be closed now. 


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


With regards,
Apache Git Services


[GitHub] CoinCheung commented on issue #9978: Error with random generator

2018-03-03 Thread GitBox
CoinCheung commented on issue #9978: Error with random generator
URL: 
https://github.com/apache/incubator-mxnet/issues/9978#issuecomment-370138600
 
 
   @asitstands 
   Then why it changes when I run it in my command line?
   ```
   $ python
   >>> import mxnet as mx
   >>> import numpy as np
   >>> 
print(mx.nd.random.normal(0,1,shape=(2,2),dtype=np.float32,ctx=mx.gpu()))
   [[-1.32045507  0.68232244]
[-0.98583829  0.01992839]]
   
   >>> 
print(mx.nd.random.normal(0,1,shape=(2,2),dtype=np.float32,ctx=mx.gpu()))
   [[-0.17739409  0.8909654 ]
 [ 0.72020799 -0.04110664]]
   
   
   ```


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


With regards,
Apache Git Services


[GitHub] CoinCheung commented on issue #9978: Error with random generator

2018-03-02 Thread GitBox
CoinCheung commented on issue #9978: Error with random generator
URL: 
https://github.com/apache/incubator-mxnet/issues/9978#issuecomment-370120074
 
 
   @asitstands 
   It does not seem so, when I run a single line in the terminal
   ```
   print(mx.nd.random.normal(0,1,shape=(2,2),dtype=np.float32,ctx=mx.gpu()))
   ```
   it will generate different numbers each time. 


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


With regards,
Apache Git Services