Skip to content

Commit d098af0

Browse files
pyynblijialin03
authored andcommitted
[GraphBolt] Fix GPUCachedFeature docstring typo (dmlc#7639)
1 parent 3d80253 commit d098af0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/dgl/graphbolt/impl/gpu_cached_feature.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def read(self, ids: torch.Tensor = None):
8989
return values
9090

9191
def read_async(self, ids: torch.Tensor):
92-
"""Read the feature by index asynchronously.
92+
r"""Read the feature by index asynchronously.
9393
9494
Parameters
9595
----------
@@ -104,7 +104,7 @@ def read_async(self, ids: torch.Tensor):
104104
can be accessed by calling `.wait()`. on the returned future object.
105105
It is undefined behavior to call `.wait()` more than once.
106106
107-
Example Usage
107+
Examples
108108
--------
109109
>>> import dgl.graphbolt as gb
110110
>>> feature = gb.Feature(...)

0 commit comments

Comments
 (0)