class_docstr: Fuses Add layer into parent convolution layer.
class_docstr_tok: ["Fuses","Add","layer","into","parent","convolution","layer","."]
code: def merge(
      self, graph, nodes
  ):  # type: (Graph, Sequence[Node]) -> Sequence[Node]
      parent, child = nodes[0], nodes[1]
      output_channels = parent.input_tensors[parent.inputs[1]].shape[0]
      if len(parent.inputs) > 2:
          bias_input_name = parent.inputs[2]
          bias = parent.input_tensors[bias_input_name]
      else:
          bias_input_name = "{}_bias".format(
              parent.name,
          )
          parent.inputs.append(bias_input_name)
          bias = np.zeros((output_channels,), dtype=np.float32)
          parent.input_tensors[bias_input_name] = bias
      bias = bias + child.input_tensors[child.inputs[1]]
      parent.input_tensors[bias_input_name] = bias
      parent.outputs = child.outputs
      parent.children.remove(child)
      child.parents.remove(parent)
      return [parent]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from typing import Sequence, Text, Dict, List
  import numpy
  from onnx import TensorProto
  from ._graph import Graph, Node
label_desc: Use image node_id 3 for calling the ConvAddFuser obj's underlying member method code with example usage: obj.merge(graph, nodes) and returns: list