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 2019/06/20 01:01:28 UTC
[GitHub] [incubator-mxnet] access2rohit commented on a change in pull
request #15170: [WIP] [MXNET-1413] Adding Large Tensor support for sort
operators
access2rohit commented on a change in pull request #15170: [WIP] [MXNET-1413] Adding Large Tensor support for sort operators
URL: https://github.com/apache/incubator-mxnet/pull/15170#discussion_r295579368
##########
File path: tests/python/unittest/test_ndarray.py
##########
@@ -819,7 +821,11 @@ def get_large_matrix():
# test for ret_typ=indices
nd_ret_topk = mx.nd.topk(a_nd, axis=1, ret_typ="indices", k=3, is_ascend=True).asnumpy()
- assert nd_ret_topk.dtype == np.float32 # Test the default dtype
+ # Test the default dtype
+ if is_large_tensor_enabled:
Review comment:
changed default type from float for int32/64 based on whether large tensor support is enabled or not
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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