code: def process_classids(labels_temp):
      """Reorder the remaining classes with unseen classes removed.
      Input: the label only removing unseen classes
      Output: the label with reordered classes
      """
      labeldict = {}
      num = 0
      for i in labels_temp:
          labeldict[int(i)] = 1
      labellist = sorted(labeldict)
      for label in labellist:
          labeldict[int(label)] = num
          num = num + 1
      for i in range(labels_temp.numel()):
          labels_temp[i] = labeldict[int(labels_temp[i])]
      return labels_temp
  
imports: import dgl
  import torch
  from dgl.data import CiteseerGraphDataset, CoraGraphDataset
label_desc: Use image node_id 3 for calling a global function with example usage: process_classids(labels_temp) and returns: labels_temp