提交 e3ff93df authored 作者: Frederic Bastien's avatar Frederic Bastien

add missing theano.

上级 246677ea
...@@ -19,7 +19,7 @@ def test_pydotprint_cond_highlight(): ...@@ -19,7 +19,7 @@ def test_pydotprint_cond_highlight():
s = StringIO.StringIO() s = StringIO.StringIO()
new_handler = logging.StreamHandler(s) new_handler = logging.StreamHandler(s)
new_handler.setLevel(logging.DEBUG) new_handler.setLevel(logging.DEBUG)
orig_handler = logging_default_handler orig_handler = theano.logging_default_handler
theano.theano_logger.removeHandler(orig_handler) theano.theano_logger.removeHandler(orig_handler)
theano.theano_logger.addHandler(new_handler) theano.theano_logger.addHandler(new_handler)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论