parameters: (self, other)
return_statement: return attrs_match and inputs_match and outputs_match
docstring: Check whether two nodes are equal by comparing name, attributes, op, inputs, and outputs.
docstring_summary: Check whether two nodes are equal by comparing name, attributes, op, inputs, and outputs.
docstring_tokens: Check whether two nodes are equal by comparing name attributes op inputs and outputs .
function: def __eq__(self, other):
          """
          Check whether two nodes are equal by comparing name, attributes, op, inputs, and outputs.
          """
          G_LOGGER.verbose("Comparing node: {:} with {:}".format(self.name, other.name))
          attrs_match = self.name == other.name and self.op == other.op and self.attrs == other.attrs
          inputs_match = len(self.inputs) == len(other.inputs) and all(
              [inp == other_inp for inp, other_inp in zip(self.inputs, other.inputs)]
          )
          outputs_match = len(self.outputs) == len(other.outputs) and all(
              [out == other_out for out, other_out in zip(self.outputs, other.outputs)]
          )
          return attrs_match and inputs_match and outputs_match
function_tokens: def __eq__ ( self , other ) : G_LOGGER . verbose ( "Comparing node: {:} with {:}" . format ( self . name , other . name ) ) attrs_match = self . name == other . name and self . op == other . op and self . attrs == other . attrs inputs_match = len ( self . inputs ) == len ( other . inputs ) and all ( [ inp == other_inp for inp , other_inp in zip ( self . inputs , other . inputs ) ] ) outputs_match = len ( self . outputs ) == len ( other . outputs ) and all ( [ out == other_out for out , other_out in zip ( self . outputs , other . outputs ) ] ) return attrs_match and inputs_match and outputs_match