anirudh2290 commented on a change in pull request #13555: [MXNET-1253] fix 
control_flow_op
URL: https://github.com/apache/incubator-mxnet/pull/13555#discussion_r240441199
 
 

 ##########
 File path: tests/nightly/test_large_array.py
 ##########
 @@ -134,6 +134,13 @@ def test_Dense(ctx=mx.cpu(0)):
     res.wait_to_read()
     assert res.shape == (50000000, 100)
 
+def test_where():
+    a = nd.ones(shape=(LARGE_X, SMALL_Y))
+    b = nd.arange(0, LARGE_X).reshape(LARGE_X, 1)
+    b = nd.broadcast_to(b, shape=(b.shape[0], SMALL_Y))
+    res = nd.where(b > 100, a, b)
 
 Review comment:
   can we add a test for backward too. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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