-
-
Notifications
You must be signed in to change notification settings - Fork 776
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
Complete implementation of cp.random.choice() #8293
Labels
Comments
Hi, thanks for your interest in contributing to CuPy! Random API coverages are tracked in #4557. I haven't assessed in detail but supporting |
Thank you for the fast response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hi guys,
First of all, thank you for the amazing work.
I'm interested in using
cp.random.choice
withreplace=False
as well as a given probability array.Currently this feature is not implemented. see here
Before I just write my own version of this function, I'd like to try and add the functionality to cupy. Since this would be my first contribution to cupy, I'd like to get some starter help...
Questions:
cp.random.choice
or should I directly try to add the choice function to the Generator class?_sample.py
just calls_generator.py
(old random functions)_generator_api.pyx
is the new Generator classAdditional Information
No response
The text was updated successfully, but these errors were encountered: