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

Small crash fix.

上级 ec33bed4
...@@ -225,7 +225,7 @@ class ProfileStats(object): ...@@ -225,7 +225,7 @@ class ProfileStats(object):
if not _atexit_registered: if not _atexit_registered:
atexit.register(_atexit_print_fn) atexit.register(_atexit_print_fn)
_atexit_registered = True _atexit_registered = True
self.ignore_first_call = theano.config.ignore_first_call self.ignore_first_call = theano.config.profiling.ignore_first_call
def class_time(self): def class_time(self):
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论