diff --git a/python/paddle/fluid/framework.py b/python/paddle/fluid/framework.py index e27444fb10bb51fd78e6a26b75182094940f3a14..78c4aea92587d730c50b80fe35183cd1c716be51 100644 --- a/python/paddle/fluid/framework.py +++ b/python/paddle/fluid/framework.py @@ -1014,6 +1014,9 @@ class Block(object): if var.type == core.VarDesc.VarType.STEP_SCOPES: ret_var = self.create_var( 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: ret_var = self.create_var( name=var.name,