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

update PixelShuffle and PRelu api in vision.py and activation.py;test=document_fix #45423

Merged
merged 4 commits into from Aug 29, 2022

Conversation

liyongchao911
Copy link
Contributor

@liyongchao911 liyongchao911 commented Aug 25, 2022

PR types

Others

PR changes

Docs

Describe

  1. using paddle.randn and paddle.to_tensor to replace the numpy in some api
  2. fix some format issue

paddle/docs:PaddlePaddle/docs#5192

@paddle-bot
Copy link

paddle-bot bot commented Aug 25, 2022

你的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.

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

其余按照中文那边改一下吧~

另外中英文最好互链一下,方便跳转


w = paddle.to_tensor([0.25], dtype='float32')
out = F.prelu(data, w)
out
Copy link
Member

Choose a reason for hiding this comment

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

print(out)

Ligoml
Ligoml previously approved these changes Aug 26, 2022
Copy link
Contributor

@Ligoml Ligoml left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1
Copy link
Contributor

luotao1 commented Aug 29, 2022

2022-08-26 15:25:22 1 sample codes ran failed
2022-08-26 15:25:22 samplecode_temp/paddle.nn.RReLU_example.py
2022-08-26 15:25:22 Mistakes found in sample codes. Please recheck the sample codes.

@Ligoml Ligoml merged commit de5f375 into PaddlePaddle:develop Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants