提交 f7dc6806 authored 作者: Matthew Rocklin's avatar Matthew Rocklin

remove schedule from DebugLinker

It never schedules its own applys
上级 97def36e
......@@ -15,8 +15,7 @@ class DebugLinker(gof.WrapLinker):
copy_originals=False,
check_types=True,
compare_variables=True,
compare_fn=(lambda x, y: x == y),
schedule=None):
compare_fn=(lambda x, y: x == y)):
if debug_pre is None:
debug_pre = []
if debug_post is None:
......@@ -47,8 +46,6 @@ class DebugLinker(gof.WrapLinker):
if compare_variables is not None:
self.debug_post.append(self.compare_variables)
self.schedule = schedule or self.schedule
def accept(self, fgraph, no_recycling=None):
if no_recycling is None:
no_recycling = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论