code: def batcher(device):
      def batcher_dev(batch):
          batch_graphs = dgl.batch(batch)
          return PPIBatch(
              graph=batch_graphs,
              label=batch_graphs.ndata["label"].to(device),
          )
  
      return batcher_dev
  
imports: import collections
  import dgl
  from dgl.data import PPIDataset
  from torch.utils.data import DataLoader, Dataset
label_desc: Use image node_id 1 for calling a global function with example usage: batcher(device) and returns: batcher_dev, PPIBatch