我用Python.(Yusuke Sugomori DBN)阅读了深度学习的源代码。我不能理解numpy_rng = numpy.random.RandomState(1234)的意思。当我键入时:
>>> import numpy
>>> a = numpy.random.RandomState(1234)
>>> a它显示了<mtrand.RandomState object at 0x100412150>
是对的吗?这是什么意思?有什么想法吗,谢谢!
发布于 2017-08-09 20:59:02
您可以像这样使用:
rdm = RandomState(1)
data = rdm.rand(128, 2)https://stackoverflow.com/questions/27385077
复制相似问题