提交 59d86606 authored 作者: Frederic Bastien's avatar Frederic Bastien

fix fct name!

上级 5a78fd3c
...@@ -64,7 +64,7 @@ class IfElse(PureOp): ...@@ -64,7 +64,7 @@ class IfElse(PureOp):
self.gpu == other.gpu and self.gpu == other.gpu and
self.name == other.name) self.name == other.name)
def __eq__(self, other): def __hash__(self, other):
return (hash(type(self)) ^ return (hash(type(self)) ^
# view_map included in as_view # view_map included in as_view
# and dict are not hashable # and dict are not hashable
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论