access2rohit commented on a change in pull request #17462: Updated 
PartialSortSmallK for LT support
URL: https://github.com/apache/incubator-mxnet/pull/17462#discussion_r397316403
 
 

 ##########
 File path: python/mxnet/test_utils.py
 ##########
 @@ -287,8 +287,8 @@ def assign_each2(input1, input2, function):
     return output
 
 # For testing Large Tensors having total size > 2^32 elements
-def create_2d_tensor(rows, columns, dtype=np.int64):
-    a = mx.nd.arange(0, rows, dtype=dtype).reshape(rows, 1)
+def create_2d_tensor(rows, columns, dtype=np.int64, ctx=None):
 
 Review comment:
   keep default context as CPU. If user wants to use GPU he can pass it.

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