code: def test_autocast_torch_expect_builtin_promote(self):
      for (
          op,
          args1,
          args2,
          out_type,
      ) in self.autocast_lists.torch_expect_builtin_promote:
          self._run_autocast_outofplace(
              op, args1, torch.float32, out_type=out_type
          )
          self._run_autocast_outofplace(
              op,
              args2,
              torch.float32,
              out_type=out_type,
              amp_dtype=torch.float16,
          )
  
imports: import collections
  import unittest
  import torch
  from torch.testing._internal.common_utils import TestCase, run_tests, IS_WINDOWS, skipIfTorchDynamo
  from torch.testing._internal.autocast_test_lists import AutocastCPUTestLists
  from torch.utils._python_dispatch import TorchDispatchMode
label_desc: Use image node_id 5 for calling the TestAutocastCPU obj's underlying member method code with example usage: obj.test_autocast_torch_expect_builtin_promote() without return types