-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 add API Docs #57434
[Docathon] Fix add API Docs #57434
Conversation
python/paddle/static/input.py
Outdated
@@ -162,6 +162,7 @@ class InputSpec: | |||
uint8. Default: float32. | |||
name (str): The name/alias of the variable, see :ref:`api_guide_Name` | |||
for more details. | |||
stop_gradient ():留空,坐等孙师傅指导。 |
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.
stop_gradient (bool, optional): A boolean that mentions whether gradient should flow. Default is False, means don't stop calculate gradients.
这段不写也没事
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.
stop_gradient ():留空,坐等孙师傅指导。 |
删掉吧
python/paddle/nn/layer/conv.py
Outdated
* :math:`Out`: Output value, the shape of :math:`Out` and :math:`X` may be different. | ||
* :math:`Out`: Output value, a 4-D ``Tensor`` with NCHW or NHWC format, the shape of :math:`Out` and :math:`X` may be different. | ||
|
||
::note: |
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.
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.
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
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 for docs,
CI static 检测不过是因为相关代码示例还没转换成 google style 样式,后续会在 #55629 清理完成,先豁免吧
* 0918API * Apply suggestions from code review Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com> * 0923修改 --------- Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
* 0918API * Apply suggestions from code review Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com> * 0923修改 --------- Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
* 0918API * Apply suggestions from code review Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com> * 0923修改 --------- Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
PR types
Bug fixes
PR changes
Docs
Description
Issue from:「文档评测」NO.1
涉及到的 API 有:
python\paddle\nn\layer\conv.py
python\paddle\static\input.py
python\paddle\tensor\manipulation.py
python\paddle\tensor\math.py
python\paddle\tensor\random.py
python\paddle\vision\models\resnet.py
关联文档(如有):PaddlePaddle/docs#6197
相关链接:
PaddlePaddle/docs#6187
PaddlePaddle/docs#6165
@sunzhongkai588