class_docstr: The GripNet model.
  
  Args:
      supergraph (SuperGraph): the supergraph.
  
  Reference:
      Xu, H., Sang, S., Bai, P., Li, R., Yang, L. and Lu, H., 2022. GripNet: Graph Information
      Propagation on Supergraph for Heterogeneous Graphs. Pattern Recognition, p.108973.
class_docstr_tok: ["The","GripNet","model",".","Args",":","supergraph","(","SuperGraph",")",":","the","supergraph",".","Reference",":","Xu",",","H.",",","Sang",",","S.",",","Bai",",","P.",",","Li",",","R.",",","Yang",",","L.","and","Lu",",","H.",",","2022",".","GripNet",":","Graph","Information","Propagation","on","Supergraph","for","Heterogeneous","Graphs",".","Pattern","Recognition",",","p.108973","."]
code: def forward(self):
      if self.supergraph.supervertex_setting_dict is None:
          error_msg = "`supervertex_setting_dict` is not set."
          logging.error(error_msg)
          raise ValueError(error_msg)
  
      for supervertex_name in self.supergraph.topological_order:
          mode = self.supergraph.supervertex_setting_dict[
              supervertex_name
          ].mode
          self.__forward_supervertex__(supervertex_name, mode)
  
      return self.out_embed_dict[self.task_supervertex_name]
  
imports: import logging
  from typing import Dict
  import torch
  import torch.nn.functional
  from torch.nn import Module
  from kale.embed.gcn import GCNEncoderLayer, RGCNEncoderLayer
  from kale.prepdata.supergraph_construct import SuperGraph, SuperVertex, SuperVertexParaSetting
label_desc: Use image node_id 6 for calling the GripNet obj's underlying member method code with example usage: obj.forward() and returns: self