提交 233e9061 authored 作者: Frederic Bastien's avatar Frederic Bastien

fix view map.

上级 560c5e24
......@@ -514,7 +514,7 @@ class Clone(Op):
self.as_view = as_view
self.gpu = gpu
if as_view:
view_map = {0:[0]}
self.view_map = {0:[0]}
def __eq__(self, other):
return type(self) == type(other) and self.as_view == other.as_view
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论