code: def load_subtensor(g, seeds, input_nodes, device, load_feat=True):
      """
      Copys features and labels of a set of nodes onto GPU.
      """
      batch_inputs = (
          g.ndata["features"][input_nodes].to(device)
          if load_feat
          else None
      )
      batch_labels = g.ndata["labels"][seeds].to(device)
      return batch_inputs, batch_labels
  
imports: import argparse
  import socket
  import time
  from contextlib import contextmanager
  import dgl
  import dgl.nn.pytorch
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: load_subtensor(g, seeds, input_nodes, device, load_feat) and returns: batch_inputs,  batch_labels