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

[cherry-pick]Support fixed seed in Python for test #36094

Merged
merged 2 commits into from
Sep 27, 2021

Conversation

YuanRisheng
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

When users use gumbel_softmax, they can use paddle.seed() in python for fixed seed.

* Add New Op: gumbel_softmax

* Add New Op: gumbel_softmax

* Add New Op: gumbel_softmax (amend)

* add __main__ function in unit test

* fix bugs when test in windows ci

* update en docs

* delete reletive error in unit test

* delete relative error in unit test

* set hard=True in unit test

* Support fix seed in Python for test
[cherry pick]split minimize and add unscale_ for GradScaler (PaddlePaddle#35927)
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

@YuanRisheng YuanRisheng changed the title Support fixed seed in Python for test [cherry-pick]Support fixed seed in Python for test Sep 26, 2021
@lanxianghit lanxianghit merged commit c3a0eaa into PaddlePaddle:release/2.2 Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants