code: def load_subtensor(nfeat, labels, seeds, input_nodes):
      """
      Extracts features and labels for a set of nodes.
      """
      batch_inputs = nfeat[input_nodes]
      batch_labels = labels[seeds]
      return batch_inputs, batch_labels
  
file_path: dgl/examples/pytorch/ogb/ogbn-products/graphsage/main.py
imports: import argparse
  import time
  import dgl
  import dgl.nn.pytorch
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  import tqdm
  from ogb.nodeproppred import DglNodePropPredDataset
label_desc: Use image node_id 3 for calling a global function with example usage: load_subtensor(nfeat, labels, seeds, input_nodes) and returns: batch_inputs,  batch_labels