sxjscience commented on issue #12310: Flaky test: test_ndarray.test_order URL: https://github.com/apache/incubator-mxnet/issues/12310#issuecomment-416775348 Thanks for reporting this. I find we can use other dtypes ```python import mxnet as mx import numpy as np dat_size=5 dtype=np.int32 a_npy= np.arange(dat_size ** 4, dtype=dtype).reshape((dat_size, dat_size, dat_size, dat_size)) a_nd = mx.nd.array(a_npy, ctx=mx.gpu(0), dtype=dtype) nd_ret_topk = mx.nd.topk(a_nd, axis=1, k=2, ret_typ="mask", is_ascend=False) print(nd_ret_topk.dtype) print(nd_ret_topk) ``` I'm looking for the bug in the code.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
