You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/24 18:41:28 UTC

[GitHub] [incubator-mxnet] marcoabreu commented on a change in pull request #15048: [MXNET-1408] Adding test to verify Large Tensor Support for ravel and unravel

marcoabreu commented on a change in pull request #15048: [MXNET-1408] Adding test to verify Large Tensor Support for ravel and unravel
URL: https://github.com/apache/incubator-mxnet/pull/15048#discussion_r287475539
 
 

 ##########
 File path: tests/nightly/test_large_array.py
 ##########
 @@ -279,6 +279,19 @@ def test_diag():
     assert_almost_equal(r.asnumpy(), np.diag(a_np, k=k))
 
 
+def test_ravel_and_unravel():
+    idxs_2d = [[LARGE_X-1,LARGE_X-100,6],[SMALL_Y-1,SMALL_Y-10,1]]
 
 Review comment:
   Please use C++ with mocking of the memory allocation instead of actually allocating memory.
   
   Although this is nightly, I don't think it's necessary for these kind of tests to actually allocate real memory. 

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


With regards,
Apache Git Services