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

[fix]: bugfix choice(INDArray source, INDArray probs, int numSamples) #9360

Merged
merged 1 commit into from Jun 10, 2021

Conversation

Romira915
Copy link
Contributor

Summary

Fixed a bug that occurred when using the choice(INDArray source, INDArray probs, int numSamples) function (For example, when you declare an INDArray with double type.) because the data type of source was not taken into account.

@agibsonccc
Copy link
Contributor

@raymondlam looks good! Do you mind signing the eclipse ECA? See more here: https://deeplearning4j.konduit.ai/getting-started/contribute/eclipse-contributors

Signed-off-by: Romira915 <40430090+Romira915@users.noreply.github.com>
@Romira915
Copy link
Contributor Author

The signature seems to have been processed correctly. Thank you.

@agibsonccc agibsonccc self-requested a review June 10, 2021 04:23
@agibsonccc agibsonccc merged commit 75073aa into deeplearning4j:master Jun 10, 2021
@agibsonccc
Copy link
Contributor

Merged, great job!

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.

None yet

2 participants