You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/10/31 18:56:39 UTC
[GitHub] zhreshold opened a new pull request #8489: fix expand_dims if axis< 0
zhreshold opened a new pull request #8489: fix expand_dims if axis< 0
URL: https://github.com/apache/incubator-mxnet/pull/8489
## Description ##
fix expand_dims if axis< 0
## Checklist ##
### Essentials ###
- [x] Passed code style checking (`make lint`)
- [x] Changes are complete (i.e. I finished coding on this PR)
- [x] All changes have test coverage
- [x] For user-facing API changes, API doc string has been updated.
- [x] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
## Comments ##
- (2, 3).expand_dims(axis=-1) should be (2, 3, 1) to be consistent with numpy. Currently it propagate (2, 1, 3).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services