code: def post_process(self, logits, e2=None):
      max_values, argsort1 = torch.sort(logits, 1, descending=True)
      rank1 = np.where(argsort1.cpu().numpy()[0] == e2[0, 0].item())[0][
          0
      ]
  
      print("ground truth e2 rank = {}".format(rank1 + 1))
  
      # argsort1 = argsort1.cpu().numpy()
      return argsort1[:, 0].item()
  
imports: import argparse
  import os
  import numpy
  import torch
  import torch.backends.cudnn
  import torch.nn
  from torch.utils.data import DataLoader
  from graph4nlp.pytorch.datasets.kinship import KinshipDataset
  from graph4nlp.pytorch.modules.utils.config_utils import get_yaml_config
  from graph4nlp.pytorch.modules.utils.logger import Logger
  from .model import Complex, ConvE, Distmult, GCNComplex, GCNDistMult, GGNNDistMult
label_desc: Use image node_id 6 for calling the KGC obj's underlying member method code with example usage: obj.post_process(logits, e2) and returns: argsort1