code: def test_module_attribute_mutation_violation_negative_4(self):
      # Mutating attribute with a Tensor type
      # But not exporting but using eager mode as well as dynamo optimize mode
      class Foo(torch.nn.Module):
          def __init__(self):
              super().__init__()
              self.a = torch.Tensor(3, 2)
  
          def forward(self, x):
              self.a = self.a.to(torch.float64)
              return x.sum() + self.a.sum()
  
      mod = Foo()
      arg = torch.Tensor(3, 2)
      real_result = mod(arg)
      opt_mod = torch._dynamo.optimize("eager", nopython=True)(mod)
      self.assertTrue(
          torch._dynamo.utils.same(opt_mod(arg), real_result)
      )
  
file_path: pytorch/test/dynamo/test_export_mutations.py
imports: import unittest
  import torch
  import torch._dynamo.test_case
  import torch._dynamo.testing
  from torch.testing._internal.common_utils import IS_FBCODE
label_desc: Use image node_id 10 for calling the MutationExportTests obj's underlying member method code with example usage: obj.test_module_attribute_mutation_violation_negative_4() and returns: unknown