Skip to content

Commit

Permalink
Talk about sampling_stages in the SubgraphSampler API.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Feb 1, 2024
1 parent 6ab2e75 commit 6f880c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/dgl/graphbolt/subgraph_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ class SubgraphSampler(MiniBatchTransformer):
Functional name: :obj:`sample_subgraph`.
This class is the base class of all subgraph samplers. Any subclass of
SubgraphSampler should implement the :meth:`sample_subgraphs` method.
SubgraphSampler should implement either the :meth:`sample_subgraphs` method
or the :meth:`sampling_stages` method to define the fine-grained sampling
stages to take advantage of optimizations provided by the GraphBolt
DataLoader.
Parameters
----------
Expand Down

0 comments on commit 6f880c0

Please sign in to comment.