parameters: (data)
return_statement: return data.abs() == np.inf
docstring: Performs an element-wise check to determine if the NDArray contains an infinite element
      or not.
  
  
      Parameters
      ----------
      input : NDArray
          An N-D NDArray.
  
      Returns
      -------
      output: NDArray
          The output NDarray, with same shape as input, where 1 indicates the array element is
          equal to positive or negative infinity and 0 otherwise.
  
      Examples
      --------
      >>> data = mx.nd.array([np.inf, -np.inf, np.NINF, -1])
      >>> output = mx.nd.contrib.isinf(data)
      >>> output
      [1. 1. 1. 0.]
      <NDArray 4 @cpu(0)>
docstring_summary: Performs an element-wise check to determine if the NDArray contains an infinite element
      or not.
docstring_tokens: Performs an element - wise check to determine if the NDArray contains an infinite element or not .
function: def isinf(data):
      """Performs an element-wise check to determine if the NDArray contains an infinite element
      or not.
  
  
      Parameters
      ----------
      input : NDArray
          An N-D NDArray.
  
      Returns
      -------
      output: NDArray
          The output NDarray, with same shape as input, where 1 indicates the array element is
          equal to positive or negative infinity and 0 otherwise.
  
      Examples
      --------
      >>> data = mx.nd.array([np.inf, -np.inf, np.NINF, -1])
      >>> output = mx.nd.contrib.isinf(data)
      >>> output
      [1. 1. 1. 0.]
      <NDArray 4 @cpu(0)>
      """
      return data.abs() == np.inf
function_tokens: def isinf ( data ) : return data . abs ( ) == np . inf