-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix seed when testing Parameter Shift Rule. #1185
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1185 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 68 68
Lines 9883 9883
=========================================
Hits 9883 9883
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Does fixing the seed using |
Oh yes, you are right! Thanks! |
Co-authored-by: Renato Mello <[email protected]>
numpy.random
seed when testing Parameter Shift Rule.
Fixing #1181.
Thanks @renatomello for raising the issue. Fixing the random generator seed should prevent such failed tests.
Checklist: