提交 48affe9c authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fix in __eq__

上级 7c12d1e3
...@@ -162,7 +162,7 @@ class GpuConv(Op): ...@@ -162,7 +162,7 @@ class GpuConv(Op):
and self.logical_img_hw == other.logical_img_hw \ and self.logical_img_hw == other.logical_img_hw \
and self.logical_kern_hw == other.logical_kern_hw \ and self.logical_kern_hw == other.logical_kern_hw \
and self.logical_kern_align_top == other.logical_kern_align_top \ and self.logical_kern_align_top == other.logical_kern_align_top \
and self.version and self.version == other.version
def __hash__(self): def __hash__(self):
return hash(type(self)) \ return hash(type(self)) \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论