-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docathon] Fix NO19,20 API Label #58827
Conversation
@sunzhongkai588麻烦孙师傅看下 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work~ @sunzhongkai588
python/paddle/distributed/io.py
Outdated
@@ -471,7 +471,7 @@ def load_inference_model_distributed( | |||
""" | |||
Load the inference model from a given directory. By this API, you can get the model | |||
structure(Inference Program) and model parameters. If you just want to load | |||
parameters of the pre-trained model, please use the :ref:`api_base_io_load_params` API. | |||
parameters of the pre-trained model, please use the :ref:`api_paddle_base_io_load_params` API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_base_io_load_params
在 #50842 已经被删掉了,可以把 if 整句话都删了~
python/paddle/reader/decorator.py
Outdated
@@ -359,7 +359,7 @@ def data_reader(): | |||
|
|||
def firstn(reader, n): | |||
""" | |||
paddle.base.io.firstn ( :ref:`api_base_io_firstn` ) is recommended to use, | |||
paddle.base.io.firstn ( :ref:`api_paddle_base_io_firstn` ) is recommended to use, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这一段是说明了别称的问题,但是这个 api 现在并没有公开暴露出来,可以整段都删了叭~
modified: python/paddle/reader/decorator.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
你的PR提交成功,感谢你对开源项目的贡献! |
* [Docathon] Fix NO19,20 API Label * modified: python/paddle/distributed/io.py modified: python/paddle/reader/decorator.py
* [Docathon] Fix NO19,20 API Label * modified: python/paddle/distributed/io.py modified: python/paddle/reader/decorator.py
PR types
Others
PR changes
Docs
Description
20那个是真看不懂,找不到api_name
照着19一样的改了一下
不知道怎么改了,麻烦大佬们帮忙看下吧
@ooooo-create @sunzhongkai588