forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Numpy] add cross product op (apache#17637)
* implement - register op, infershape * implement - cross product 2x2 * implement - cross product 2x3 3x2 3x3 * fix - cudaError: misaligned address * add - test code * fix - test axis=None * add - Register _backward_npi_cross * implement - get_cross_backward in test * implement - cross backward 3x3 2x3 3x2 * implement - cross backward 2x2 * fix - sanity pylint * fix - move the python wrapper to keep consistency * impl - FFI for cross op * impl - FFI benchmark * fix - reset rtol and atol if dtype is np.float16 in test_optimizer.py:test_sparse_ftrl Co-authored-by: Ding <[email protected]>
- Loading branch information
1 parent
4a244dc
commit f882de0
Showing
12 changed files
with
2,293 additions
and
141 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.