class_docstr: Assistant Dataset for speeding up the SEALSampler
class_docstr_tok: ["Assistant","Dataset","for","speeding","up","the","SEALSampler"]
code: def __len__(self):
      return len(self.edges)
  
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 2 for calling the EdgeDataSet obj's underlying member method code with example usage: obj.__len__() and returns: len