code: def sample_edge_uniform(adj_list, degrees, n_triplets, sample_size):
      """Sample edges uniformly from all the edges."""
      all_edges = np.arange(n_triplets)
      return np.random.choice(all_edges, sample_size, replace=False)
  
file_path: dgl/examples/tensorflow/rgcn/utils.py
imports: import dgl
  import numpy
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: sample_edge_uniform(adj_list, degrees, n_triplets, sample_size) and returns: np