code: def __init__(self, edge_index, sizes, num_nodes=None, **kwargs):
      edge_idx = torch.arange(edge_index.size(1))
      super(NegativeLinkNeighborSampler, self).__init__(
          edge_index, sizes, edge_idx, num_nodes, **kwargs
      )
  
imports: import argparse
  from tqdm.auto import tqdm
  import torch
  import torch.nn.functional
  from torch.utils.data import DataLoader
  from torch_geometric.data import NeighborSampler
  from torch_geometric.nn import SAGEConv
  from torch_geometric.utils import to_undirected
  from ogb.linkproppred import PygLinkPropPredDataset, Evaluator
  from logger import Logger
label_desc: Use image node_id 1 to create a new NegativeLinkNeighborSampler object from inherited base classes: NeighborSampler with example: obj = NegativeLinkNeighborSampler(edge_index, sizes, num_nodes)