actually.. never mind the previous commit !

seed_rng() should be called with no parameters as much as possible. If you want stuff to be deterministic, define the THEANO_UNITTEST_SEED env. var
上级 582a50dd
......@@ -19,7 +19,7 @@ from theano import function
from theano.tests import unittest_tools
### seed random number generator so that unittests are deterministic ###
unittest_tools.seed_rng(8374)
unittest_tools.seed_rng()
def inplace_func(inputs, outputs, mode=default_mode):
return function(inputs, outputs, mode=mode, accept_inplace=True)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论