code: def test_nowait_class(self):
      class C:
          def __init__(self, a: Tensor, b: Tensor):
              self._a = a
              self._b = b
  
          def a(self) -> Tensor:
              return self._a
  
      def fn(x: Tensor):
          aw = torch.jit._awaitable_nowait(
              C(torch.zeros(2), torch.ones(2))
          )
          _a = torch.eye(2)
          c = torch.jit._awaitable_wait(aw)
          return _a + c.a() + x
  
      make_global(C)
      inp = torch.zeros(2)
  
      sm = torch.jit.script(fn)
      out = fn(inp)
      script_out = sm(inp)
      self.assertTrue(torch.allclose(torch.eye(2), script_out))
      self.assertTrue(torch.allclose(script_out, out))
  
imports: import io
  import torch
  from torch.testing._internal.jit_utils import JitTestCase
  from torch.testing._internal.jit_utils import make_global
  from typing import List, Optional, Tuple
  from torch import Tensor
  from torch._awaits import _Await
label_desc: Use image node_id 5 for calling the TestAwait obj's underlying member method code with example usage: obj.test_nowait_class() and returns: unknown, self