class_docstr: An abstract helper for merging nodes
class_docstr_tok: ["An","abstract","helper","for","merging","nodes"]
code: def __init__(
      self,
      num_nodes,  # type: int
  ):
      # type: (...) -> None
      assert (
          num_nodes >= 2
      ), "Algorithm only works if fusing multiple nodes"
      self.num_nodes = num_nodes
  
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 1 to create a new NodesFuser object from inherited base classes: object with example: obj = NodesFuser(num_nodes)