code: def __init__(self, g, idx, sampler, offset, feats, label):
      super().__init__(g, idx, sampler)
      self.offset = offset
      self.feats = feats
      self.label = label
  
imports: import argparse
  import time
  import dgl
  import dgl.function
  import dgl.nn
  import numpy
  import ogb
  import torch
  import torch.nn
  import torch.nn.functional
  import tqdm
  from ogb.lsc import MAG240MDataset, MAG240MEvaluator
label_desc: Use image node_id 1 to create a new ExternalNodeCollator object from inherited base classes: dgl.dataloading with example: obj = ExternalNodeCollator(g, idx, sampler, offset, feats, label)