This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[Numpy] FFI: random.choice, take and clip #17854
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
haojin2
reviewed
Mar 17, 2020
please also fix the sanity issues. |
hzfan
reviewed
Mar 19, 2020
hzfan
approved these changes
Mar 23, 2020
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.
LGTM
None of the jobs entered are supported. |
@mxnet-bot run ci [centos-cpu, unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu, centos-cpu] |
@mxnet-bot run ci [unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu] |
sxjscience
pushed a commit
to sxjscience/mxnet
that referenced
this pull request
Jul 1, 2020
* change the header file of np.random.choice * add np_choice_op.cc file * add including header file * implement the basic function of random.choice * try to use take op in backend * try to use take op in backend * add take invoking function * fix some syntax problems * fix some problems * complete numpy.random.choice ffi * first commit of ffi indexing_op.cc * add random.choice ffi benchmark * complete take ffi * change the implementation of random.choice * add take op benchmark * complete clip op ffi and fix a problem * add clip op benchmark * fix some sanity problems * add space before ( and fix reimport * fix a typo * remove dead code and remove new operator Co-authored-by: Ubuntu <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add FFI support of
random.choice
take
clip
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments