forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MXNET-882] Support for N-d arrays added to diag op. (apache#12430)
* Support for N-d arrays added to diag op. * Doc for diag updated. Sanity fix. Unit test for N-d diag op added. * Unwanted print in diag test removed. * Bad negative axis support in diag fixed. * Bad negative axis support in diag fixed. * Index overflow in diag fixed. Exemplars for Nd diag added. * A bug in diag op fixed. * Types of axis number and dim size changed to dim_t in diag. * A bug in params of diag fixed. * Poisonous dim_t removed from diag parameters. * Diag impl details documented in comments.
- Loading branch information
1 parent
dc6dad8
commit 94a9069
Showing
4 changed files
with
244 additions
and
65 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
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.