提交 de7b68cd 编写于 作者: W wuzewu

fix the bug that use erroneous program when create hub module

上级 af66e6e9
......@@ -82,6 +82,7 @@ def create_module(sign_arr, program, path=None, assets=None):
model_path,
feeded_var_names=[var.name for var in first_sign.get_inputs()],
target_vars=first_sign.get_outputs(),
main_program=program,
executor=exe)
# save to disk
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册