code: def assertFused(self, graph, fused_patterns):
      for pat in fused_patterns:
          self.assertGraphContainsExactly(graph, pat, 0)
  
imports: import itertools
  import unittest
  from typing import NamedTuple, List
  import torch
  from torch import nn
  from torch.testing._internal.common_utils import run_tests
  from torch.testing._internal.jit_utils import JitTestCase
  from test_tensorexpr import warmup_and_run_forward
label_desc: Use image node_id 1 for calling the TestMkldnnFusion obj's underlying member method code with example usage: obj.assertFused(graph, fused_patterns) without return types