tqchen commented on issue #4891: [TEST][FLAKY] 
topi/tests/python/test_topi_sort.py::test_argsort
URL: https://github.com/apache/incubator-tvm/pull/4891#issuecomment-586749061
 
 
   OK, sorry for not being clear, the root problem is potential ties in the 
value generated by np.random(two values too close to each other). So one way to 
avoid that is only generate random value that we know won't have ties. For 
example
   
   ```python
   np.shuffle(range(n))
   ```
   
   Then we can use this as input data to test argsort

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to