提交 1296d96e 编写于 作者: T tangwei12

add raw clone

上级 ee64f577
...@@ -1014,6 +1014,9 @@ class Block(object): ...@@ -1014,6 +1014,9 @@ class Block(object):
if var.type == core.VarDesc.VarType.STEP_SCOPES: if var.type == core.VarDesc.VarType.STEP_SCOPES:
ret_var = self.create_var( ret_var = self.create_var(
name=var.name, persistable=var.persistable, type=var.type) name=var.name, persistable=var.persistable, type=var.type)
elif var.type == core.VarDesc.VarType.RAW:
ret_var = self.create_var(
name=var.name, persistable=var.persistable, type=var.type)
elif var.type == core.VarDesc.VarType.SELECTED_ROWS: elif var.type == core.VarDesc.VarType.SELECTED_ROWS:
ret_var = self.create_var( ret_var = self.create_var(
name=var.name, name=var.name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册