def METHOD_NAME(self, g, indices):
    """Sampling function
    Parameters
    ----------
    g : DGLGraph
        The graph to sample from.
    indices : Tensor
        Placeholder not used.
    Returns
    -------
    DGLGraph
        The sampled subgraph.
    """
    node_ids = self.sampler(g)
    sg = g.subgraph(
        node_ids, relabel_nodes=True, output_device=self.output_device
    )
    set_node_lazy_features(sg, self.prefetch_ndata)
    set_edge_lazy_features(sg, self.prefetch_edata)
    return sg