docstr: seeds torch.LongTensor : a batch of indices of edges
docstr_tok: ["seeds","torch.LongTensor",":","a","batch","of","indices","of","edges"]
code: def sample(self, seeds):
      """seeds torch.LongTensor : a batch of indices of edges"""
      return self.edges[torch.LongTensor(seeds)]
  
imports: import os
  import pickle
  import random
  import time
  import dgl
  import numpy
  import scipy.sparse
  import torch
  from dgl.data.utils import _get_dgl_url, download, extract_archive, get_download_dir
  from torch.utils.data import DataLoader
label_desc: Use image node_id 2 for calling the EdgeSampler obj's underlying member method code with example usage: obj.sample(seeds) and returns: self