code: def __call__(self, g, eids):
      src, _ = g.find_edges(eids)
      n = len(src)
      if self.neg_share and n % self.k == 0:
          dst = self.weights.multinomial(n, replacement=True)
          dst = dst.view(-1, 1, self.k).expand(-1, self.k, -1).flatten()
      else:
          dst = self.weights.multinomial(n * self.k, replacement=True)
      src = src.repeat_interleave(self.k)
      return src, dst
  
imports: import dgl
  import torch
label_desc: Use image node_id 2 for calling the NegativeSampler obj's underlying member method code with example usage: obj.__call__(g, eids) and returns: src,  dst