Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

yuchen202
Copy link
Contributor

@yuchen202 yuchen202 commented Oct 17, 2023

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

@paddle-bot
Copy link

paddle-bot bot commented Oct 17, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Oct 17, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Oct 18, 2023
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>>> 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>>> converted_img = F.adjust_hue(fake_img, 0.4)
>>> converted_img = adjust_hue(fake_img, 0.4)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这部分文件不用改了,我验证了下,原来是正确的

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Oct 25, 2023

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.

@luotao1 luotao1 closed this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants