code: def __init__(
      self, g, in_feats, n_hidden, n_layers, activation, dropout
  ):
      super(DGI, self).__init__()
      self.encoder = Encoder(
          g, in_feats, n_hidden, n_layers, activation, dropout
      )
      self.discriminator = Discriminator(n_hidden)
      self.loss = nn.BCEWithLogitsLoss()
  
imports: import math
  import torch
  import torch.nn
  from gcn import GCN
label_desc: Use image node_id 1 to create a new DGI object from inherited base classes: nn with example: obj = DGI(g, in_feats, n_hidden, n_layers, activation, dropout)