code: def __init__(self, in_features, out_features):
      super().__init__()
      self.linear_1 = torch.nn.Linear(in_features, out_features)
      self.linear_2 = torch.nn.Linear(out_features, in_features)
  
file_path: ColossalAI/tests/test_tensor/test_dtensor/test_dtensor.py
imports: import torch
  from colossalai.device.device_mesh import DeviceMesh
  from colossalai.initialize import launch
  from colossalai.logging import disable_existing_loggers
  from colossalai.tensor.d_tensor import ShardingSpec, distribute_tensor, get_global_shape, redistribute, to_global
  from colossalai.testing import rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 1 to create a new TestModel object from inherited base classes: torch.nn with example: obj = TestModel(in_features, out_features)