Shortcuts

Template Function torch::data::make_data_loader(Dataset, DataLoaderOptions)

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())

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources