code: def forward(self, data):
      zg, zn = self.encoder(data)
      zg = self.fc(zg)
      return zg
  
file_path: DIG/dig/sslgraph/method/contrastive/model/infograph.py
imports: import torch.nn
  from .contrastive import Contrastive
label_desc: Use image node_id 2 for calling the InfoG_enc obj's underlying member method code with example usage: obj.forward(data) and returns: zg