class_docstr: Checks if a particular subgraph matches a given pattern.
docstr: Initializes a GraphMatcher.
  
  Args:
    pattern: The `Pattern` against which `GraphMatcher` matches
      subgraphs.
docstr_tok: ["Initializes","a","GraphMatcher",".","Args",":","pattern",":","The","`","Pattern","`","against","which","`","GraphMatcher","`","matches","subgraphs","."]
code: def __init__(self, pattern):
      """Initializes a GraphMatcher.
  
      Args:
        pattern: The `Pattern` against which `GraphMatcher` matches
          subgraphs.
      """
      self._pattern = pattern
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import itertools
  from mmdnn.conversion.common.DataStructure.graph import Graph
label_desc: Use image node_id 1 to create a new GraphMatcher object from inherited base classes: object with example: obj = GraphMatcher(pattern)