提交 abf17226 编写于 作者: Q Qiao Longfei

fix code style test=develop

上级 76072261
...@@ -197,7 +197,8 @@ class CompiledProgram(object): ...@@ -197,7 +197,8 @@ class CompiledProgram(object):
self._build_strategy.trainers_endpoints = trainers_endpoints self._build_strategy.trainers_endpoints = trainers_endpoints
self._persistable_vars = set([ self._persistable_vars = set([
cpt.to_text(v.name) for v in [ cpt.to_text(v.name)
for v in [
var for var in self._program.list_vars() var for var in self._program.list_vars()
if var.persistable and var.type != core.VarDesc.VarType.RAW if var.persistable and var.type != core.VarDesc.VarType.RAW
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册