code: def test_context_manager(self):
      x = torch.randn(4, 8)
      y = torch.randn(4, 8)
      with torch.jit.fuser("fuser3"):
          with torch.jit.fuser("fuser3"):
  
              def t1(x, y):
                  o = x + y
                  o = o + 2.0
                  return o
  
              t_jit = torch.jit.script(t1)
              t_jit(x, y)
              t_jit(x, y)
              self.assertGraphContains(
                  t_jit.graph_for(x, y), LLGA_FUSION_GROUP
              )
  
          def t2(x, y):
              o = x + y
              o = o + 3.0
              return o
  
          t_jit_2 = torch.jit.script(t2)
          t_jit_2(x, y)
          t_jit_2(x, y)
          self.assertGraphContains(
              t_jit_2.graph_for(x, y), LLGA_FUSION_GROUP
          )
  
      def t3(x, y):
          o = x + y
          o = o + 4.0
          return o
  
      t_jit_3 = torch.jit.script(t3)
      t_jit_3(x, y)
      t_jit_3(x, y)
      self.assertGraphContainsExactly(
          t_jit_3.graph_for(x, y), LLGA_FUSION_GROUP, 0
      )
  
imports: import sys
  import torch
  import unittest
  import itertools
  import torch.nn
  from functools import wraps
  from concurrent import futures
  import torch.nn.functional
  import torch.fx.experimental.optimization
  from torch.testing._internal.jit_utils import JitTestCase
  from torch.testing._internal.common_utils import run_tests, TEST_SCIPY, IS_WINDOWS, IS_MACOS
  from torch.testing._internal.common_device_type import instantiate_device_type_tests, onlyCPU, dtypes
label_desc: Use image node_id 3 for calling the TestEnableDisableLlgaFuser obj's underlying member method code with example usage: obj.test_context_manager() and returns: o, o, o