class_docstr: Test torchgen.executorch.api.cpp
code: def test_returntype_type(self) -> None:
      data = [
          ("Tensor", BaseCType(tensorT)),
          ("Tensor(a!)", MutRefCType(BaseCType(tensorT))),
          ("Tensor[]", VectorCType(BaseCType(tensorT))),
      ]
      for d in data:
          self._test_returntype_type(*d)
  
file_path: pytorch/tools/test/test_executorch_types.py
imports: import unittest
  from torchgen import local
  from torchgen.api.types import BaseCType, ConstRefCType, CType, longT, MutRefCType, NamedCType, OptionalCType, TupleCType, VectorCType, voidT
  from torchgen.executorch.api.et_cpp import argument_type, return_type, returns_type
  from torchgen.executorch.api.types import ArrayRefCType, scalarT, tensorListT, tensorT
  from torchgen.model import Argument, FunctionSchema, Return
label_desc: Use image node_id 4 for calling the ExecutorchCppTest obj's underlying member method code with example usage: obj.test_returntype_type() without return types