"docs/source/api/python/dgl.data.rst" did not exist on "3cbfc25a32b3f62e116de91563fa5f3d6cc468ca"
Unverified Commit ad1b9269 authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[doc] update docstring typo

parent 1f15e3bc
...@@ -60,8 +60,8 @@ class NeighborSampler(SubgraphSampler): ...@@ -60,8 +60,8 @@ class NeighborSampler(SubgraphSampler):
Examples Examples
------- -------
>>> import torch
>>> import dgl.graphbolt as gb >>> import dgl.graphbolt as gb
>>> from dgl import graphbolt as gb
>>> indptr = torch.LongTensor([0, 2, 4, 5, 6, 7 ,8]) >>> indptr = torch.LongTensor([0, 2, 4, 5, 6, 7 ,8])
>>> indices = torch.LongTensor([1, 2, 0, 3, 5, 4, 3, 5]) >>> indices = torch.LongTensor([1, 2, 0, 3, 5, 4, 3, 5])
>>> graph = gb.fused_csc_sampling_graph(indptr, indices) >>> graph = gb.fused_csc_sampling_graph(indptr, indices)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment