-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
feat: Update general_functions.py by adding random_uniform_initializer #26970
Conversation
Thank you for this PR, here is the CI results: This pull request does not result in any additional test failures. Congratulations! |
Can you review this PR please. |
): | ||
try: | ||
minval = float(minval) | ||
except (ValueError, TypeError): | ||
minval = 0.0 | ||
try: | ||
maxval = float(maxval) | ||
except (ValueError, TypeError): | ||
maxval = 1.0 |
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.
No need to have the try except here. It will be handled in the backend. Also, you needs to add tests for the given function.
Hey, can you solve the merge conflicts? |
Close #26962
PR Description
Related Issue
Closes #26962
Checklist
Socials