提交 42995b86 编写于 作者: W wjj19950828

fixed import models bug

上级 bae722ec
...@@ -53,6 +53,8 @@ def is_condition_two(idx): ...@@ -53,6 +53,8 @@ def is_condition_two(idx):
return False return False
VarBase = core.eager.Tensor
VarBase.tmp = VarBase.__getitem__ VarBase.tmp = VarBase.__getitem__
...@@ -95,9 +97,8 @@ def __getitem__(self, idx): ...@@ -95,9 +97,8 @@ def __getitem__(self, idx):
return out return out
VarBase = core.eager.Tensor
VarBase.__getitem__ = __getitem__ VarBase.__getitem__ = __getitem__
VarBase.setitem_tmp = VarBase.__setitem__ VarBase.setitem_tmp = VarBase.__setitem__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册