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

Fix a crash in DebugMode introduced in gh-6218

上级 f46e5153
...@@ -6663,8 +6663,8 @@ class AllocEmpty(gof.Op): ...@@ -6663,8 +6663,8 @@ class AllocEmpty(gof.Op):
output.tag.nan_guard_mode_check = False output.tag.nan_guard_mode_check = False
return Apply(self, shape, [output]) return Apply(self, shape, [output])
def debug_perform(self, node, inputs, out_): def debug_perform(self, node, inputs, out_, params):
self.perform(node, inputs, out_) self.perform(node, inputs, out_, params)
out_[0][0].fill(-123456789) out_[0][0].fill(-123456789)
def perform(self, node, inputs, out_, params): def perform(self, node, inputs, out_, params):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论