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

Add comment.

上级 a0cf1c8a
...@@ -136,6 +136,10 @@ AddConfigVar('nocleanup', ...@@ -136,6 +136,10 @@ AddConfigVar('nocleanup',
BoolParam(False), BoolParam(False),
in_c_key=False) in_c_key=False)
# This flag is used when we import Theano to init global variable.
# So changing it after import won't change those global variable.
# This could be changed... but for now I do the fast fix to disable the
# change at run time.
AddConfigVar('tensor.cmp_sloppy', AddConfigVar('tensor.cmp_sloppy',
"Relax tensor._allclose (0) not at all, (1) a bit, (2) more", "Relax tensor._allclose (0) not at all, (1) a bit, (2) more",
IntParam(0, lambda i: i in (0,1,2), allow_override=False), IntParam(0, lambda i: i in (0,1,2), allow_override=False),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论