code: def __init__(self):
      super().__init__()
      self.emb = torch.nn.EmbeddingBag(10, 3, mode="sum", sparse=True)
      self.linear = torch.nn.Linear(3, 1)
  
file_path: DeepSpeed/tests/unit/runtime/sparse_tensor/test_averaging_sparse_gradients.py
imports: import torch
  import deepspeed
  from unit.common import DistributedTest
  from unit.util import skip_on_arch
label_desc: Use image node_id 1 to create a new Model object from inherited base classes: torch.nn with example: obj = Model()