class_docstr: Monitor for Infinity and NaN in tensor values.
class_docstr_tok: ["Monitor","for","Infinity","and","NaN","in","tensor","values","."]
code: def alerts(self):
      return self._alerts
  
imports: import numpy
  from tensorflow.core.protobuf import debug_event_pb2
label_desc: Use image node_id 6 for calling the InfNanMonitor obj's underlying member method code with example usage: obj.alerts() and returns: self