-
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
修复docs\api\paddle\Tenso 等 API 的文档 #58174
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -546,7 +546,7 @@ def adjust_hue(img, hue_factor): | |||
|
|||
>>> import numpy as np | |||
>>> from PIL import Image | |||
>>> from paddle.vision.transforms import functional as F | |||
>>> from paddle.vision.transforms.adjust_hue import functional as F |
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.
>>> from paddle.vision.transforms.adjust_hue import functional as F | |
>>> from paddle.vision.transforms import adjust_hue |
@@ -546,7 +546,7 @@ def adjust_hue(img, hue_factor): | |||
|
|||
>>> import numpy as np | |||
>>> from PIL import Image | |||
>>> from paddle.vision.transforms import functional as F | |||
>>> from paddle.vision.transforms.adjust_hue import functional as F | |||
>>> fake_img = (np.random.rand(256, 300, 3) * 255.).astype('uint8') | |||
>>> fake_img = Image.fromarray(fake_img) | |||
>>> converted_img = F.adjust_hue(fake_img, 0.4) |
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.
>>> converted_img = F.adjust_hue(fake_img, 0.4) | |
>>> converted_img = adjust_hue(fake_img, 0.4) |
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.
这部分文件不用改了,我验证了下,原来是正确的
Sorry to inform you that f213210's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
PR types
Bug fixes
PR changes
Docs
Description
Issue from:「文档修复」(来源于bug确认赛)
涉及到的 API 有:
docs\api\paddle\Tensor_cn.rst
docs\api\paddle\bmm_cn.rst
docs\api\paddle\distributed\fleet\Fleet_cn.rst
docs\api\paddle\metric\Recall_cn.rst
docs\api\paddle\nn\LSTM_cn.rst
docs\api\paddle\nn\functional\grid_sample_cn.rst
关联文档(如有):
PaddlePaddle/docs#6229
相关链接:
PaddlePaddle/docs#6187
PaddlePaddle/docs#6165
@sunzhongkai588