diff --git a/python/dgl/graphbolt/impl/cpu_cached_feature.py b/python/dgl/graphbolt/impl/cpu_cached_feature.py index 80fd2974671e..184c382fc3c7 100644 --- a/python/dgl/graphbolt/impl/cpu_cached_feature.py +++ b/python/dgl/graphbolt/impl/cpu_cached_feature.py @@ -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. diff --git a/python/dgl/graphbolt/impl/gpu_cached_feature.py b/python/dgl/graphbolt/impl/gpu_cached_feature.py index c676d890f118..7c7b01cb38ef 100644 --- a/python/dgl/graphbolt/impl/gpu_cached_feature.py +++ b/python/dgl/graphbolt/impl/gpu_cached_feature.py @@ -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. diff --git a/python/dgl/graphbolt/impl/torch_based_feature_store.py b/python/dgl/graphbolt/impl/torch_based_feature_store.py index 42d5e7a859f1..c1739415f3e2 100644 --- a/python/dgl/graphbolt/impl/torch_based_feature_store.py +++ b/python/dgl/graphbolt/impl/torch_based_feature_store.py @@ -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. @@ -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.