code: def test_out_dtype_inductor_decomp(self) -> None:
      def func(x, w):
          return out_dtype(torch.ops.aten.mm.default, torch.int32, x, w)
  
      w = torch.randint(
          -128, 127, (32, 32), dtype=torch.int8, device="cuda"
      )
      x = torch.randint(
          -128, 127, (32, 32), dtype=torch.int8, device="cuda"
      )
  
      ref = torch._int_mm(x, w)
      test_out = func(x, w)
      func_comp = torch.compile(
          func, fullgraph=True, mode="max-autotune"
      )
      test_out_c = func_comp(x, w)
      self.assertTrue(torch.allclose(ref, test_out))
      self.assertTrue(torch.allclose(ref, test_out_c))
  
imports: import unittest
  import torch
  import torch._dynamo
  import torch._inductor
  import torch._inductor.decomposition
  import torch._export
  from torch._higher_order_ops.out_dtype import out_dtype
  from torch.fx.experimental.proxy_tensor import make_fx
  from torch.testing._internal.common_utils import run_tests, TestCase, IS_WINDOWS, TEST_WITH_ROCM, IS_FBCODE, IS_REMOTE_GPU, TEST_CUDA
  from torch.testing._internal.common_quantization import skipIfNoDynamoSupport
  from torch.testing import FileCheck
  from torch.testing._internal.common_cuda import SM80OrLater, _get_torch_cuda_version
label_desc: Use image node_id 9 for calling the TestOutDtypeOp obj's underlying member method code with example usage: obj.test_out_dtype_inductor_decomp() and returns: out_dtype