提交 d9b0901f authored 作者: Frederic's avatar Frederic

Remove crash

上级 b5cf5feb
...@@ -1939,10 +1939,10 @@ class _Linker(gof.link.LocalLinker): ...@@ -1939,10 +1939,10 @@ class _Linker(gof.link.LocalLinker):
if r not in fgraph.inputs] if r not in fgraph.inputs]
# Precompute some things for storage pre-allocation # Precompute some things for storage pre-allocation
try: # Need this import here to prevent circular import.
def_val = int(config.unittests.rseed) # If we don't do it, we won't always configuration available.
except ValueError: import theano.tests.unittest_tools # noqa
def_val = 666 def_val = int(config.unittests.rseed)
##### #####
# This is the function that runs when you evaluate the graph # This is the function that runs when you evaluate the graph
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论