fluid.dataset

DatasetFactory

class paddle.fluid.dataset.DatasetFactory[source]

DatasetFactory is a factory which create dataset by its name, you can create “QueueDataset” or “InMemoryDataset”, the default is “QueueDataset”.

Example

dataset = paddle.fluid.DatasetFactory.create_dataset(“InMemoryDataset”)

create_dataset(datafeed_class='QueueDataset')[source]

Create “QueueDataset” or “InMemoryDataset”, the default is “QueueDataset”.