asitstands commented on issue #9978: Error with random generator URL: https://github.com/apache/incubator-mxnet/issues/9978#issuecomment-370120684 ```python # test.py import mxnet as mx import numpy as np print(mx.nd.random.normal(0,1,shape=(2,2),dtype=np.float32,ctx=mx.gpu())) ``` ``` > python test.py [[-1.3204551 0.68232244] [-0.9858383 0.01992839]] <NDArray 2x2 @gpu(0)> > python test.py [[-1.3204551 0.68232244] [-0.9858383 0.01992839]] <NDArray 2x2 @gpu(0)> ``` The seed is fixed. You might run the line several times in a REPL session while your original post is about running script and seeing random numbers.
---------------------------------------------------------------- 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