Skip to content

Commit

Permalink
remove useless __all__. test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
heavengate committed May 10, 2023
1 parent 55af140 commit 3c9badc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
17 changes: 0 additions & 17 deletions python/paddle/io/dataloader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,3 @@
from .sampler import SequenceSampler
from .sampler import RandomSampler
from .sampler import WeightedRandomSampler

__all__ = [
"Dataset",
"IterableDataset",
"TensorDataset",
"ComposeDataset",
"ChainDataset",
"random_split",
"Subset",
"BatchSampler",
"DistributedBatchSampler",
"get_worker_info",
"Sampler",
"SequenceSampler",
"RandomSampler",
"WeightedRandomSampler",
]
3 changes: 0 additions & 3 deletions python/paddle/io/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,12 @@
_DataLoaderIterMultiProcess,
_DataLoaderIterSingleProcess,
_DatasetKind,
default_collate_fn,
)

# NOTE: [ avoid hanging & failed quickly ]
# These value is used in getting data from another process
QUEUE_GET_TIMEOUT = 60

__all__ = ['DataLoader', 'default_collate_fn']

USE_PINNED_MEMORY = None
# AutoTune Flags
USE_AUTOTUNE = False
Expand Down

0 comments on commit 3c9badc

Please sign in to comment.