Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhett-Ying committed Oct 5, 2024
1 parent dd79008 commit 2fdaa16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/dgl/dataloading/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,7 @@ def __new__(cls, *args, **kwargs):


def _remove_kwargs_dist(kwargs):
"""Deprecated."""
if "num_workers" in kwargs:
del kwargs["num_workers"]
if "pin_memory" in kwargs:
Expand Down

0 comments on commit 2fdaa16

Please sign in to comment.