Template Function torch::data::make_data_loader(Dataset, DataLoaderOptions)¶
Defined in File dataloader.h
Function Documentation¶
Warning
doxygenfunction: Unable to resolve function “torch::data::make_data_loader” with arguments (Dataset, DataLoaderOptions) in doxygen xml output for project “PyTorch” from directory: /var/lib/jenkins/workspace/docs/cpp/build/xml. Potential matches:
- template<typename Dataset, typename = std::enable_if_t<Dataset::is_stateful>> std::unique_ptr<StatefulDataLoader<Dataset>> make_data_loader(Dataset dataset, DataLoaderOptions options = DataLoaderOptions())
- template<typename Dataset, typename Sampler> std::enable_if_t<!Dataset::is_stateful, std::unique_ptr<StatelessDataLoader<Dataset, Sampler>>> make_data_loader(Dataset dataset, Sampler sampler, DataLoaderOptions options)
- template<typename Sampler = samplers::RandomSampler, typename Dataset> std::enable_if_t<!Dataset::is_stateful && std::is_constructible_v<Sampler, size_t>, std::unique_ptr<StatelessDataLoader<Dataset, Sampler>>> make_data_loader(Dataset dataset, DataLoaderOptions options = DataLoaderOptions())