class_docstr: class object to do uniform sampling
class_docstr_tok: ["class","object","to","do","uniform","sampling"]
code: def _get_edgeid_type_d(self, df):
      df["type"] = self._get_type_id_from_indices(
          df["indices"], self.etype_id_range_dict
      )
      result_d = {
          etype: df[df["type"] == etype_id]
          for etype, etype_id in self.etype_id_dict.items()
      }
      return {
          etype: (
              df[src_n].values,
              df[dst_n].values,
              df["indices"].values,
          )
          for etype, df in result_d.items()
      }
  
file_path: cugraph/python/cugraph/cugraph/gnn/dgl_extensions/dgl_uniform_sampler.py
imports: from functools import cached_property
  import cugraph
  import cudf
  import cupy
  from cugraph.gnn.dgl_extensions.utils.sampling import sample_cugraph_graphs, get_subgraph_and_src_range_from_edgelist, get_underlying_dtype_from_sg
  from cugraph.gnn.dgl_extensions.utils.sampling import src_n, dst_n
label_desc: Use image node_id 3 for calling the DGLUniformSampler obj's underlying member method code with example usage: obj._get_edgeid_type_d(df) and returns: unknown