wkcn commented on a change in pull request #16234: [MXNET-1426] Fix the wrong
result of sum, mean, argmin, argmax when inputs contain inf or nan
URL: https://github.com/apache/incubator-mxnet/pull/16234#discussion_r327381145
##########
File path: tests/python/unittest/test_operator.py
##########
@@ -9286,21 +9286,26 @@ def test_sample_normal_default_shape():
assert s.shape == (1, 1)
-def test_min_max_inf():
- dtypes = [np.float32, np.double]
- elem_list = [-1, 1, 0, np.inf, -np.inf]
-
+def test_inf_and_nan():
Review comment:
Thank you! I will move the testcase into test_ndarray.py
----------------------------------------------------------------
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