未验证 提交 4c735f24 编写于 作者: T tangwei12 提交者: GitHub

fix bug in fleet, test=develop (#18058)

上级 42f12a4a
......@@ -144,16 +144,9 @@ class DistributedTranspiler(Fleet):
executor, main_program, None, None,
export_for_deployment)
else:
io.save_inference_model(
dirname,
feeded_var_names,
target_vars,
executor,
self._origin_program,
None,
None,
export_for_deployment,
model_only=True)
io.save_inference_model(dirname, feeded_var_names, target_vars,
executor, self._origin_program, None, None,
export_for_deployment, True)
model_basename = "__model__"
model_filename = os.path.join(dirname, model_basename)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册