Skip to content

Commit

Permalink
[GraphBolt][Doc] Fix read_async doc display issue. (dmlc#7741)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin authored Aug 25, 2024
1 parent d68029a commit ffe3bb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/dgl/graphbolt/impl/cpu_cached_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down
2 changes: 1 addition & 1 deletion python/dgl/graphbolt/impl/gpu_cached_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down
4 changes: 2 additions & 2 deletions python/dgl/graphbolt/impl/torch_based_feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down Expand Up @@ -434,7 +434,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down

0 comments on commit ffe3bb2

Please sign in to comment.