未验证 提交 b256737e 编写于 作者: Z zyfncg 提交者: GitHub

update english doc of paddle.static.save_inference_model, test=document_fix (#46484)

上级 3e1e482b
......@@ -441,8 +441,6 @@ def save_to_file(path, content):
def save_inference_model(path_prefix, feed_vars, fetch_vars, executor,
**kwargs):
"""
:api_attr: Static Graph
Save current model and its parameters to given path. i.e.
Given path_prefix = "/path/to/modelname", after invoking
save_inference_model(path_prefix, feed_vars, fetch_vars, executor),
......@@ -459,7 +457,7 @@ def save_inference_model(path_prefix, feed_vars, fetch_vars, executor,
- program(Program): specify a program if you don't want to use default main program.
- clip_extra(bool): set to True if you want to clip extra information for every operator.
- clip_extra(bool): the flag indicating whether to clip extra information for every operator. Default: True.
Returns:
None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册