-
Notifications
You must be signed in to change notification settings - Fork 764
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
修复 paddle\add 等 API 的文档 #6197
修复 paddle\add 等 API 的文档 #6197
Conversation
- **dtype** (np.dtype|str,可选)- 数据类型,支持 bool,float16,float32,float64,int8,int16,int32,int64,uint8。默认值为 float32。 | ||
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
- **name** (str,可选) - 变量的名称,具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
- **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,可选) - 提示是否应该停止计算梯度,默认值为 False,表示不停止计算梯度。
不过不写也没事,因为算是一个非常常见的参数。
Co-authored-by: zachary sun <[email protected]>
- **dtype** (np.dtype|str,可选)- 数据类型,支持 bool,float16,float32,float64,int8,int16,int32,int64,uint8。默认值为 float32。 | ||
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
- **name** (str,可选) - 变量的名称,具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
- **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**() - 不知道咋写 |
删掉吧
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 types
Bug fixes
PR changes
Docs
Description
Issue from:「文档评测」NO.1
涉及到的 API 有:
docs\api\paddle\add_cn.rst
docs\api\paddle\full_cn.rst
docs\api\paddle\nn\Conv2DTranspose_cn.rst
docs\api\paddle\nn\initializer\Constant_cn.rst
docs\api\paddle\rand_cn.rst
docs\api\paddle\shape_cn.rst
docs\api\paddle\static\InputSpec_cn.rst
docs\api\paddle\static\load_inference_model_cn.rst
docs\api\paddle\vision\transforms\Normalize__upper_cn.rst
关联文档(如有):PaddlePaddle/Paddle#57434
相关链接:
#6187
#6165
@sunzhongkai588