code: def __init__(self, g, num_fanouts):
      self.g = g
      self.num_fanouts = num_fanouts
  
imports: import datetime
  import math
  import os
  import sys
  import time
  from collections import defaultdict
  import numpy
  import torch
  import torch.multiprocessing
  import torch.nn
  import torch.nn.functional
  from numpy import random
  from torch.nn.parallel import DistributedDataParallel
  from torch.nn.parameter import Parameter
  from tqdm.auto import tqdm
  from utils import *
  import dgl
  import dgl.function
label_desc: Use image node_id 1 to create a new NeighborSampler object from inherited base classes: object with example: obj = NeighborSampler(g, num_fanouts)