anirudhacharya commented on a change in pull request #12967: [MXNET-1173] Debug 
operators - isfinite and isinf
URL: https://github.com/apache/incubator-mxnet/pull/12967#discussion_r227978652
 
 

 ##########
 File path: python/mxnet/ndarray/contrib.py
 ##########
 @@ -460,3 +461,65 @@ def _to_python_scalar(inputs, type_, name):
         return then_func()
     else:
         return else_func()
+
+def isinf(data, ctx=None):
+    """Checks whether a given NDArray has infinity or not
 
 Review comment:
   the description should include the word element-wise. Something like, 
"Performs an element-wise check to determine if the NDArray contains an 
infinite element or not"

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