mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-04 19:44:23 +08:00
[GraphBolt][Doc] Fix read_async doc display issue. (#7741)
This commit is contained in:
committed by
GitHub
parent
d68029a605
commit
ffe3bb22e8
@@ -81,7 +81,7 @@ class CPUCachedFeature(Feature):
|
||||
-------
|
||||
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.
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ class GPUCachedFeature(Feature):
|
||||
-------
|
||||
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.
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ class TorchBasedFeature(Feature):
|
||||
-------
|
||||
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.
|
||||
|
||||
@@ -434,7 +434,7 @@ class DiskBasedFeature(Feature):
|
||||
-------
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user