提交 247f2e92 编写于 作者: W wuzewu

Fix the problem that ModuleV1 fails to export inference model.

上级 804f4889
......@@ -254,6 +254,7 @@ class ModuleV1(object):
'''
return self.default_signature != None
@paddle_utils.run_in_static_mode
def save_inference_model(self,
dirname: str,
model_filename: str = None,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册