Skip to content

Commit

Permalink
[GraphBolt] Fix GPUCachedFeature docstring typo (#7639)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyynb committed Aug 2, 2024
1 parent 2260992 commit f1c28d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/dgl/graphbolt/impl/gpu_cached_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def read(self, ids: torch.Tensor = None):
return values

def read_async(self, ids: torch.Tensor):
"""Read the feature by index asynchronously.
r"""Read the feature by index asynchronously.
Parameters
----------
Expand All @@ -104,7 +104,7 @@ def read_async(self, ids: torch.Tensor):
can be accessed by calling `.wait()`. on the returned future object.
It is undefined behavior to call `.wait()` more than once.
Example Usage
Examples
--------
>>> import dgl.graphbolt as gb
>>> feature = gb.Feature(...)
Expand Down

0 comments on commit f1c28d3

Please sign in to comment.