access2rohit commented on a change in pull request #17644: [Large Tensor] Fix 
ravel_multi_index op
URL: https://github.com/apache/incubator-mxnet/pull/17644#discussion_r384790686
 
 

 ##########
 File path: tests/nightly/test_large_array.py
 ##########
 @@ -495,6 +495,14 @@ def check_spatial_transformer():
         assert res.shape[1] == 536870912
         assert res.shape[2] == 2
         assert res.shape[3] == 6
+        
+    def check_ravel():
+        data = nd.random_normal(shape=(2, LARGE_TENSOR_SHAPE))
+        shape = (2, 10)
+
+        out = nd.ravel_multi_index(data=data, shape=shape)
+
+        assert out.shape[0] == LARGE_TENSOR_SHAPE
 
 Review comment:
   Can we have values checks here ?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to