## Description ##
Backporting  fix for flaky test: test_ndarray.test_order from master as the 
test failed in CI. Tracked in #12310


The test uses np.int16 which is not a supported dtype for ndarray.
Also, conversion of np array to ndarray defaults to float32 in destination 
ndarray even though the dtype of source could be anything leading to failure of 
unites due to loss of precision in some cases.

## Checklist ##
### Essentials ###
Please feel free to remove inapplicable items for your PR.
- [x] Changes are complete (i.e. I finished coding on this PR)
- [x] All changes have test coverage:
- [x] Code is well-documented: 
- [x] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change

### Changes ###

--> Removed tests for np.int16
--> Instead of using default dtype for converting arrays , used the type from 
source array to convert to target array.




[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12725 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to