提交 65d5d0bd authored 作者: Frederic's avatar Frederic

small upgrade following code review.

上级 ef18832c
...@@ -295,8 +295,8 @@ class RunOnce(theano.Op): ...@@ -295,8 +295,8 @@ class RunOnce(theano.Op):
def test_vm_gc(): def test_vm_gc():
"""This already caused a bug in the trunk of Theano. """This already caused a bug in the trunk of Theano.
The bug was introduced in the trunk the July 5, 2012 andfixed the The bug was introduced in the trunk the July 5, 2012 and fixed the
July 27 July 30
""" """
pass pass
......
...@@ -25,9 +25,9 @@ AddConfigVar('profile_optimizer', ...@@ -25,9 +25,9 @@ AddConfigVar('profile_optimizer',
def filter_vm_lazy(val): def filter_vm_lazy(val):
if val == 'False': if val == 'False' or val is False:
return False return False
elif val == 'True': elif val == 'True' or val is True:
return True return True
elif val == 'None': elif val == 'None':
return None return None
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论