Skip to content

Commit

Permalink
move DataLoader to paddle.io. test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
heavengate committed Apr 13, 2023
1 parent cbdba50 commit 78d2d3f
Show file tree
Hide file tree
Showing 30 changed files with 812 additions and 672 deletions.
6 changes: 3 additions & 3 deletions python/paddle/distributed/auto_parallel/dist_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
import numpy as np

import paddle
from paddle.fluid.dataloader.batch_sampler import (
from paddle.io import BatchSampler, IterableDataset
from paddle.io.dataloader.batch_sampler import (
DistributedBatchSampler,
_InfiniteIterableSampler,
)
from paddle.fluid.dataloader.dataloader_iter import (
from paddle.io.dataloader.dataloader_iter import (
_DatasetKind,
default_collate_fn,
default_convert_fn,
)
from paddle.io import BatchSampler, IterableDataset


class DistributedDataLoaderBase(metaclass=abc.ABCMeta):
Expand Down
32 changes: 0 additions & 32 deletions python/paddle/fluid/dataloader/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions python/paddle/fluid/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
from . import reader
from . import unique_name
from .reader import *
from . import dataloader
from .dataloader import *
from . import core
from paddle.utils import deprecated
from paddle.fluid.framework import static_only
Expand Down
Loading

0 comments on commit 78d2d3f

Please sign in to comment.