class_docstr: Assistant Dataset for speeding up the SEALSampler
class_docstr_tok: ["Assistant","Dataset","for","speeding","up","the","SEALSampler"]
code: def __init__(self, edges, labels, transform):
      self.edges = edges
      self.transform = transform
      self.labels = labels
  
imports: import os.path
  from copy import deepcopy
  import dgl
  import torch
  from dgl import add_self_loop, DGLGraph, NID
  from dgl.dataloading.negative_sampler import Uniform
  from torch.utils.data import DataLoader, Dataset
  from tqdm import tqdm
  from utils import drnl_node_labeling
label_desc: Use image node_id 1 to create a new EdgeDataSet object from inherited base classes: Dataset with example: obj = EdgeDataSet(edges, labels, transform)