code: def __init__(self):
      super().__init__()
      self.linear1 = nn.Linear(3, 4)
      self.batchnorm = nn.BatchNorm1d(4)
      self.linear2 = nn.Linear(4, 5)
  
file_path: accelerate/tests/test_offload.py
imports: import os
  import unittest
  from tempfile import TemporaryDirectory
  import torch
  import torch.nn
  from accelerate.utils import OffloadedWeightsLoader, extract_submodules_state_dict, load_offloaded_weight, offload_state_dict, offload_weight
label_desc: Use image node_id 1 to create a new ModelForTest object from inherited base classes: nn with example: obj = ModelForTest()