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 2020/09/23 00:21:14 UTC

[GitHub] [incubator-mxnet] wkcn commented on a change in pull request #19147: [WIP] Update test_np_large_array.py to use more meaningful variable names

wkcn commented on a change in pull request #19147:
URL: https://github.com/apache/incubator-mxnet/pull/19147#discussion_r493104353



##########
File path: tests/nightly/test_np_large_array.py
##########
@@ -90,28 +90,28 @@ def test_softmax():
 
 @use_np
 def test_ones():
-    A = np.ones((INT_OVERFLOW, 2))
-    assert A.shape == (INT_OVERFLOW, 2)
-    assert A[0][0] == 1
+    data = np.ones((INT_OVERFLOW, 2))

Review comment:
       `input` is a built-in function of python. I think `data` is better.




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