Skip to content

Commit

Permalink
[Doc] Fix docstring of MultiLayerNeighborSampler (dmlc#3579)
Browse files Browse the repository at this point in the history
Make the default value of parameter replace in docstring consistent with code

Co-authored-by: Quan (Andy) Gan <[email protected]>
Co-authored-by: Mufei Li <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2021
1 parent 5f4c879 commit 7273a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dgl/dataloading/neighbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MultiLayerNeighborSampler(NeighborSamplingMixin, BlockSampler):
If -1 is provided for one edge type on one layer, then all inbound edges
of that edge type will be included.
replace : bool, default True
replace : bool, default False
Whether to sample with replacement
return_eids : bool, default False
Whether to return the edge IDs involved in message passing in the MFG.
Expand Down

0 comments on commit 7273a16

Please sign in to comment.