code: def __init__(self, cfg):
      super(GCN, self).__init__()
  
      self.num_layers = cfg.num_layers
      self.input_size = cfg.input_size
      self.hidden_size = cfg.hidden_size
      self.dropout = cfg.dropout
  
      self.fc1 = nn.Linear(self.input_size, self.hidden_size)
      self.fc = nn.Linear(self.hidden_size, self.hidden_size)
      self.weight_list = nn.ModuleList()
      for i in range(self.num_layers):
          self.weight_list.append(
              nn.Linear(self.hidden_size * (i + 1), self.hidden_size)
          )
      self.dropout = nn.Dropout(self.dropout)
  
file_path: DeepKE/src/deepke/relation_extraction/standard/module/GCN.py
imports: import logging
  import torch
  import numpy
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new GCN object from inherited base classes: nn with example: obj = GCN(cfg)