From b256737e20e92b5fa3ec2caab71bd830af2d5eea Mon Sep 17 00:00:00 2001 From: zyfncg Date: Mon, 26 Sep 2022 16:10:04 +0800 Subject: [PATCH] update english doc of paddle.static.save_inference_model, test=document_fix (#46484) --- python/paddle/static/io.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/paddle/static/io.py b/python/paddle/static/io.py index 5366bfb8b4..8514e9e04f 100644 --- a/python/paddle/static/io.py +++ b/python/paddle/static/io.py @@ -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 -- GitLab