class_docstr: Checks if a particular subgraph matches a given pattern.
docstr: Matches each operation in `graph` against `self._pattern`.
  
  Args:
    graph: `tf.Graph` containing operations to match.
  
  Yields:
    `MatchResult` for each `tf.Operation` in `graph` that matches the pattern.
docstr_tok: ["Matches","each","operation","in","`","graph","`","against","`","self._pattern","`",".","Args",":","graph",":","`","tf.Graph","`","containing","operations","to","match",".","Yields",":","`","MatchResult","`","for","each","`","tf.Operation","`","in","`","graph","`","that","matches","the","pattern","."]
code: def match_graph(self, graph):
      """Matches each operation in `graph` against `self._pattern`.
  
      Args:
        graph: `tf.Graph` containing operations to match.
  
      Yields:
        `MatchResult` for each `tf.Operation` in `graph` that matches the pattern.
      """
      # Python 3.3.2+ implements `yield from`, but for now:
      for match_result in self.match_ops(graph.get_nodes()):
          yield match_result
  
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 5 for calling the GraphMatcher obj's underlying member method code with example usage: obj.match_graph(graph) without return types