code: def __init__(self, in_dim, out_dim):
      super().__init__()
      self.W = nn.Linear(in_dim, out_dim)
  
file_path: dgl/examples/pytorch/gas/model_sampling.py
imports: import dgl.function
  import torch
  import torch.nn
  from dgl.nn.functional import edge_softmax
label_desc: Use image node_id 1 to create a new MLP object from inherited base classes: nn with example: obj = MLP(in_dim, out_dim)