apeforest commented on a change in pull request #16079: Test large vector mean 
operator and fix a few bugs
URL: https://github.com/apache/incubator-mxnet/pull/16079#discussion_r321080004
 
 

 ##########
 File path: tests/nightly/test_large_vector.py
 ##########
 @@ -56,15 +55,12 @@ def test_ndarray_random_uniform():
 
 @with_seed()
 def test_ndarray_random_randint():
-    a = nd.random.randint(100, 10000, shape=LARGE_X)
-    assert a.shape == (LARGE_X,)
     # check if randint can generate value greater than 2**32 (large)
-    low_large_value = 2**32
-    high_large_value = 2**34
-    a = nd.random.randint(low_large_value, high_large_value, dtype=np.int64)
-    low = mx.nd.array([low_large_value], dtype='int64')
-    high = mx.nd.array([high_large_value], dtype='int64')
-    assert a >= low and a < high
+    low = 4294967296
 
 Review comment:
   Done!

----------------------------------------------------------------
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