提交 74c5476f 编写于 作者: T tangwei12

hidden slice_vars in distribute transpile, hidden it to users

上级 19ddd3da
......@@ -401,13 +401,12 @@ def load_vars(executor,
inputs={},
outputs={"Out": load_var_list},
attrs={'file_path': os.path.join(dirname, filename)})
if main_program._slice_vars_and_atts:
_load_slice_up_vars(executor, dirname,
main_program._slice_vars_and_atts)
executor.run(load_prog)
# load slice vars on pserver, if have it.
_load_slice_up_vars(executor, dirname,
main_program._slice_vars_and_atts)
def load_params(executor, dirname, main_program=None, filename=None):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册