code: def __init__(self, in_dim, out_dim, act_fn, num_layers=2):
      super(GCN, self).__init__()
  
      assert num_layers >= 2
      self.num_layers = num_layers
      self.convs = nn.ModuleList()
  
      self.convs.append(GraphConv(in_dim, out_dim * 2))
      for _ in range(self.num_layers - 2):
          self.convs.append(GraphConv(out_dim * 2, out_dim * 2))
  
      self.convs.append(GraphConv(out_dim * 2, out_dim))
      self.act_fn = act_fn
  
file_path: dgl/examples/pytorch/grace/model.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from dgl.nn import GraphConv
label_desc: Use image node_id 1 to create a new GCN object from inherited base classes: nn with example: obj = GCN(in_dim, out_dim, act_fn, num_layers)