class_docstr: Alert for Infinity and NaN values.
class_docstr_tok: ["Alert","for","Infinity","and","NaN","values","."]
code: def __init__(
      self,
      wall_time,
      op_type,
      output_slot,
      size=None,
      num_neg_inf=None,
      num_pos_inf=None,
      num_nan=None,
      execution_index=None,
      graph_execution_trace_index=None,
  ):
      self._wall_time = wall_time
      self._op_type = op_type
      self._output_slot = output_slot
      self._size = size
      self._num_neg_inf = num_neg_inf
      self._num_pos_inf = num_pos_inf
      self._num_nan = num_nan
      self._execution_index = execution_index
      self._graph_execution_trace_index = graph_execution_trace_index
  
imports: import numpy
  from tensorflow.core.protobuf import debug_event_pb2
label_desc: Use image node_id 1 to create a new InfNanAlert object from inherited base classes: object with example: obj = InfNanAlert(wall_time, op_type, output_slot, size, num_neg_inf, num_pos_inf, num_nan, execution_index, graph_execution_trace_index)