René's URL Explorer Experiment


Title: Datasets — PyTorch main documentation

Description: Dataset classes in PyTorch C++ — Dataset, MapDataset, StreamDataset, and built-in datasets like MNIST.

Keywords:

direct link

Domain: docs.pytorch.org


Hey, it has json ld scripts:
    {
       "@context": "https://schema.org",
       "@type": "Article",
       "name": "Datasets",
       "headline": "Datasets",
       "description": "Dataset classes in PyTorch C++ \u2014 Dataset, MapDataset, StreamDataset, and built-in datasets like MNIST.",
       "url": "/api/data/datasets.html",
       "articleBody": "Datasets# The dataset abstraction defines how to access individual samples in your data. All datasets inherit from Dataset and must implement get() and size(). Dataset Base Class# template\u003ctypename Self, typename SingleExample = Example\u003c\u003e\u003eclass Dataset : public torch::data::datasets::BatchDataset\u003cSelf, std::vector\u003cExample\u003c\u003e\u003e\u003e# A dataset that can yield data in batches, or as individual examples. A Dataset is a BatchDataset, because it supports random access and therefore batched access is implemented (by default) by calling the random access indexing function for each index in the requested batch of indices. This can be customized. Public Types using ExampleType = SingleExample# Public Functions virtual ExampleType get(size_t index) = 0# Returns the example at the given index. inline virtual std::vector\u003cExampleType\u003e get_batch(ArrayRef\u003csize_t\u003e indices) override# Returns a batch of data. The default implementation calls get() for every requested index in the batch. template\u003ctypename Self, typename Batch = std::vector\u003cExample\u003c\u003e\u003e, typename BatchRequest = ArrayRef\u003csize_t\u003e\u003eclass BatchDataset# A dataset that can yield data only in batches. Subclassed by torch::data::datasets::Dataset\u003c MNIST \u003e, torch::data::datasets::Dataset\u003c TensorDataset, TensorExample \u003e, torch::data::datasets::StatefulDataset\u003c ChunkDataset\u003c ChunkReader, samplers::RandomSampler, samplers::RandomSampler \u003e, ChunkReader::BatchType, size_t \u003e Public Types using SelfType = Self# using BatchType = Batch# using BatchRequestType = BatchRequest# Public Functions virtual ~BatchDataset() = default# virtual Batch get_batch(BatchRequest request) = 0# Returns a batch of data given an index. virtual std::optional\u003csize_t\u003e size() const = 0# Returns the size of the dataset, or an empty std::optional if it is unsized. template\u003ctypename TransformType\u003einline MapDataset\u003cSelf, TransformType\u003e map(TransformType transform) \u0026# Creates a MapDataset that applies the given transform to this dataset. template\u003ctypename TransformType\u003einline MapDataset\u003cSelf, TransformType\u003e map(TransformType transform) \u0026\u0026# Creates a MapDataset that applies the given transform to this dataset. Public Static Attributes static constexpr bool is_stateful = detail::is_optional\u003cBatchType\u003e::value# StatefulDataset# A dataset that manages its own state across batches (e.g., position in a stream). Unlike Dataset, it produces batches directly without external samplers. template\u003ctypename Self, typename Batch = std::vector\u003cExample\u003c\u003e\u003e, typename BatchRequest = size_t\u003eclass StatefulDataset : public BatchDataset\u003cSelf, std::optional\u003cstd::vector\u003cExample\u003c\u003e\u003e\u003e, size_t\u003e# A stateful dataset is a dataset that maintains some internal state, which will be reset() at the beginning of each epoch. Subclasses can override the reset() method to configure this behavior. Further, the return type of a stateful dataset\u2019s get_batch() method is always an optional. When the stateful dataset wants to indicate to the dataloader that its epoch has ended, it should return an empty optional. The dataloader knows to modify its implementation based on whether the dataset is stateless or stateful. Note that when subclassing a from StatefulDataset\u003cSelf, T\u003e, the return type of get_batch(), which the subclass must override, will be optional\u003cT\u003e (i.e. the type specified in the StatefulDataset specialization is automatically boxed into an optional for the dataset\u2019s BatchType). Public Functions virtual void reset() = 0# Resets internal state of the dataset. virtual void save(serialize::OutputArchive \u0026archive) const = 0# Saves the statefulDataset\u2019s state to OutputArchive. virtual void load(serialize::InputArchive \u0026archive) = 0# Deserializes the statefulDataset\u2019s state from the archive. ChunkDataReader# Interface for reading chunks of data from a data source. Used with ChunkDataset for large-scale data loading. template\u003ctypename ExampleType_, typename ChunkType_ = std::vector\u003cExampleType_\u003e\u003eclass ChunkDataReader# Interface for chunk reader, which performs data chunking and reading of entire chunks. A chunk could be an entire file, such as an audio data file or an image, or part of a file in the case of a large text-file split based on seek positions. Public Types using ChunkType = ChunkType_# using ExampleType = ExampleType_# Public Functions virtual ~ChunkDataReader() = default# virtual ChunkType read_chunk(size_t chunk_index) = 0# Read an entire chunk. virtual size_t chunk_count() = 0# Returns the number of chunks available in this reader. virtual void reset() = 0# This will clear any internal state associate with this reader. Custom Dataset Example# class CustomDataset : public torch::data::datasets::Dataset\u003cCustomDataset\u003e { public: explicit CustomDataset(const std::string\u0026 root) { // Load data from root directory } torch::data::Example\u003c\u003e get(size_t index) override { return {images_[index], labels_[index]}; } torch::optional\u003csize_t\u003e size() const override { return images_.size(0); } private: torch::Tensor images_, labels_; }; MapDataset# template\u003ctypename SourceDataset, typename AppliedTransform\u003eclass MapDataset : public torch::data::datasets::BatchDataset\u003cMapDataset\u003cSourceDataset, AppliedTransform\u003e, detail::optional_if_t\u003cSourceDataset::is_stateful, AppliedTransform::OutputBatchType\u003e, SourceDataset::BatchRequestType\u003e# A MapDataset is a dataset that applies a transform to a source dataset. Public Types using DatasetType = SourceDataset# using TransformType = AppliedTransform# using BatchRequestType = typename SourceDataset::BatchRequestType# using OutputBatchType = detail::optional_if_t\u003cSourceDataset::is_stateful, typename AppliedTransform::OutputBatchType\u003e# Public Functions inline MapDataset(DatasetType dataset, TransformType transform)# inline virtual OutputBatchType get_batch(BatchRequestType indices) override# Gets a batch from the source dataset and applies the transform to it, returning the result. inline virtual std::optional\u003csize_t\u003e size() const noexcept override# Returns the size of the source dataset. inline void reset()# Calls reset() on the underlying dataset. NOTE: Stateless datasets do not have a reset() method, so a call to this method will only compile for stateful datasets (which have a reset() method). inline const SourceDataset \u0026dataset() noexcept# Returns the underlying dataset. inline const AppliedTransform \u0026transform() noexcept# Returns the transform being applied. ChunkDataset# template\u003ctypename ChunkReader, typename ChunkSampler = samplers::RandomSampler, typename ExampleSampler = samplers::RandomSampler\u003eclass ChunkDataset : public torch::data::datasets::StatefulDataset\u003cChunkDataset\u003cChunkReader, samplers::RandomSampler, samplers::RandomSampler\u003e, ChunkReader::BatchType, size_t\u003e# A stateful dataset that support hierarchical sampling and prefetching of entre chunks. Unlike regular dataset, chunk dataset require two samplers to operate and keeps an internal state. ChunkSampler selects, which chunk to load next, while the ExampleSampler determines the order of Examples that are returned in each get_batch call. The hierarchical sampling approach used here is inspired by this paper http://martin.zinkevich.org/publications/nips2010.pdf Public Types using BatchType = std::optional\u003ctypename ChunkReader::BatchType\u003e# using UnwrappedBatchType = typename ChunkReader::BatchType# using BatchRequestType = size_t# using ChunkSamplerType = ChunkSampler# using ExampleSamplerType = ExampleSampler# Public Functions inline ChunkDataset(ChunkReader chunk_reader, ChunkSampler chunk_sampler, ExampleSampler example_sampler, ChunkDatasetOptions options, std::function\u003cvoid(UnwrappedBatchType\u0026)\u003e preprocessing_policy = std::function\u003cvoid(UnwrappedBatchType\u0026)\u003e())# inline ~ChunkDataset() override# inline BatchType get_batch(size_t batch_size) override# Default get_batch method of BatchDataset. This method returns Example batches created from the preloaded chunks. The implementation is dataset agnostic and does not need overriding in different chunk datasets. inline BatchType get_batch()# Helper method around get_batch as batch_size is not strictly necessary. inline virtual void reset() override# This will clear any internal state and starts the internal prefetching mechanism for the chunk dataset. inline virtual std::optional\u003csize_t\u003e size() const override# size is not used for chunk dataset. inline ChunkSamplerType \u0026chunk_sampler()# inline virtual void save(serialize::OutputArchive \u0026archive) const override# Saves the statefulDataset\u2019s state to OutputArchive. inline virtual void load(serialize::InputArchive \u0026archive) override# Deserializes the statefulDataset\u2019s state from the archive. SharedBatchDataset# template\u003ctypename UnderlyingDataset\u003eclass SharedBatchDataset : public torch::data::datasets::BatchDataset\u003cSharedBatchDataset\u003cUnderlyingDataset\u003e, UnderlyingDataset::BatchType, UnderlyingDataset::BatchRequestType\u003e# A dataset that wraps another dataset in a shared pointer and implements the BatchDataset API, delegating all calls to the shared instance. This is useful when you want all worker threads in the dataloader to access the same dataset instance. The dataset must take care of synchronization and thread-safe access itself. Use torch::data::datasets::make_shared_dataset() to create a new SharedBatchDataset like you would a std::shared_ptr. Public Types using BatchType = typename UnderlyingDataset::BatchType# using BatchRequestType = typename UnderlyingDataset::BatchRequestType# Public Functions inline SharedBatchDataset(std::shared_ptr\u003cUnderlyingDataset\u003e shared_dataset)# Constructs a new SharedBatchDataset from a shared_ptr to the UnderlyingDataset. inline virtual BatchType get_batch(BatchRequestType request) override# Calls get_batch on the underlying dataset. inline virtual std::optional\u003csize_t\u003e size() const override# Returns the size from the underlying dataset. inline UnderlyingDataset \u0026operator*()# Accesses the underlying dataset. inline const UnderlyingDataset \u0026operator*() const# Accesses the underlying dataset. inline UnderlyingDataset *operator-\u003e()# Accesses the underlying dataset. inline const UnderlyingDataset *operator-\u003e() const# Accesses the underlying dataset. inline void reset()# Calls reset() on the underlying dataset. Built-in Datasets# MNIST# class MNIST : public torch::data::datasets::Dataset\u003cMNIST\u003e# The MNIST dataset. Public Types enum class Mode# The mode in which the dataset is loaded. Values: enumerator kTrain# enumerator kTest# Public Functions explicit MNIST(const std::string \u0026root, Mode mode = Mode::kTrain)# Loads the MNIST dataset from the root path. The supplied root path should contain the content of the unzipped MNIST dataset, available from http://yann.lecun.com/exdb/mnist. virtual Example get(size_t index) override# Returns the Example at the given index. virtual std::optional\u003csize_t\u003e size() const override# Returns the size of the dataset. bool is_train() const noexcept# Returns true if this is the training subset of MNIST. const Tensor \u0026images() const# Returns all images stacked into a single tensor. const Tensor \u0026targets() const# Returns all targets stacked into a single tensor. Example: auto dataset = torch::data::datasets::MNIST(\"./data\") .map(torch::data::transforms::Normalize\u003c\u003e(0.1307, 0.3081)) .map(torch::data::transforms::Stack\u003c\u003e()); Example Struct# template\u003ctypename Data = at::Tensor, typename Target = at::Tensor\u003estruct Example# An Example from a dataset. A dataset consists of data and an associated target (label). Public Types using DataType = Data# using TargetType = Target# Public Functions Example() = default# inline Example(Data data, Target target)# Public Members Data data# Target target#",
       "author": {
         "@type": "Organization",
         "name": "PyTorch Contributors",
         "url": "https://pytorch.org"
       },
       "image": "https://pytorch.org/docs/stable/_static/img/pytorch_seo.png",
       "mainEntityOfPage": {
         "@type": "WebPage",
         "@id": "/api/data/datasets.html"
       },
       "datePublished": "2023-01-01T00:00:00Z",
       "dateModified": "2023-01-01T00:00:00Z"
     }
 

docsearch:languageen
llm:site-typedocumentation
llm:frameworkPyTorch
llm:descriptionDataset classes in PyTorch C++ — Dataset, MapDataset, StreamDataset, and built-in datasets like MNIST.
llm:navigation-filehttps://pytorch.org/docs/stable/llms.txt
llm:sitemaphttps://pytorch.org/docs/stable/sitemap.xml
llm:versionmain
llm:projectPyTorch
llm:page-typedocumentation
og:imagehttps://docs.pytorch.org/docs/stable/_static/img/pytorch_seo.png
None3

Links:

Skip to main contenthttps://docs.pytorch.org/cppdocs/api/data/datasets.html#main-content
Home https://docs.pytorch.org/cppdocs/index.html
mainhttps://docs.pytorch.org/cppdocs/index.html
Installing C++ Distributions of PyTorch https://docs.pytorch.org/cppdocs/installing.html
The C++ Frontend https://docs.pytorch.org/cppdocs/frontend.html
C++ API Reference https://docs.pytorch.org/cppdocs/api/index.html
ATen: Tensor Library https://docs.pytorch.org/cppdocs/api/aten/index.html
C10: Core Utilities https://docs.pytorch.org/cppdocs/api/c10/index.html
Autograd: Automatic Differentiation https://docs.pytorch.org/cppdocs/api/autograd/index.html
CUDA Support https://docs.pytorch.org/cppdocs/api/cuda/index.html
XPU Support https://docs.pytorch.org/cppdocs/api/xpu/index.html
Neural Network Modules (torch::nn) https://docs.pytorch.org/cppdocs/api/nn/index.html
Optimizers (torch::optim) https://docs.pytorch.org/cppdocs/api/optim/index.html
Data Loading (torch::data) https://docs.pytorch.org/cppdocs/api/data/index.html
Serialization (torch::serialize) https://docs.pytorch.org/cppdocs/api/serialize/index.html
Torch Library API https://docs.pytorch.org/cppdocs/api/library/index.html
Torch Stable API https://docs.pytorch.org/cppdocs/api/stable/index.html
FAQ https://docs.pytorch.org/cppdocs/faq.html
Go to pytorch.org https://pytorch.org
Xhttps://x.com/PyTorch
GitHubhttps://github.com/pytorch/pytorch
PyTorch Forumhttps://discuss.pytorch.org/
PyPihttps://pypi.org/project/torch/
mainhttps://docs.pytorch.org/cppdocs/index.html
Installing C++ Distributions of PyTorch https://docs.pytorch.org/cppdocs/installing.html
The C++ Frontend https://docs.pytorch.org/cppdocs/frontend.html
C++ API Reference https://docs.pytorch.org/cppdocs/api/index.html
ATen: Tensor Library https://docs.pytorch.org/cppdocs/api/aten/index.html
C10: Core Utilities https://docs.pytorch.org/cppdocs/api/c10/index.html
Autograd: Automatic Differentiation https://docs.pytorch.org/cppdocs/api/autograd/index.html
CUDA Support https://docs.pytorch.org/cppdocs/api/cuda/index.html
XPU Support https://docs.pytorch.org/cppdocs/api/xpu/index.html
Neural Network Modules (torch::nn) https://docs.pytorch.org/cppdocs/api/nn/index.html
Optimizers (torch::optim) https://docs.pytorch.org/cppdocs/api/optim/index.html
Data Loading (torch::data) https://docs.pytorch.org/cppdocs/api/data/index.html
Serialization (torch::serialize) https://docs.pytorch.org/cppdocs/api/serialize/index.html
Torch Library API https://docs.pytorch.org/cppdocs/api/library/index.html
Torch Stable API https://docs.pytorch.org/cppdocs/api/stable/index.html
FAQ https://docs.pytorch.org/cppdocs/faq.html
Go to pytorch.org https://pytorch.org
Xhttps://x.com/PyTorch
GitHubhttps://github.com/pytorch/pytorch
PyTorch Forumhttps://discuss.pytorch.org/
PyPihttps://pypi.org/project/torch/
ATen: Tensor Libraryhttps://docs.pytorch.org/cppdocs/api/aten/index.html
Tensor Classhttps://docs.pytorch.org/cppdocs/api/aten/tensor.html
Tensor Creationhttps://docs.pytorch.org/cppdocs/api/aten/creation.html
Tensor Indexinghttps://docs.pytorch.org/cppdocs/api/aten/indexing.html
Tensor Accessorshttps://docs.pytorch.org/cppdocs/api/aten/accessors.html
C10: Core Utilitieshttps://docs.pytorch.org/cppdocs/api/c10/index.html
Device and DeviceTypehttps://docs.pytorch.org/cppdocs/api/c10/device.html
Device Guardshttps://docs.pytorch.org/cppdocs/api/c10/guards.html
Streamshttps://docs.pytorch.org/cppdocs/api/c10/streams.html
Core Typeshttps://docs.pytorch.org/cppdocs/api/c10/types.html
Utilitieshttps://docs.pytorch.org/cppdocs/api/c10/utilities.html
Autograd: Automatic Differentiationhttps://docs.pytorch.org/cppdocs/api/autograd/index.html
Gradient Computationhttps://docs.pytorch.org/cppdocs/api/autograd/gradient.html
Custom Autograd Functionshttps://docs.pytorch.org/cppdocs/api/autograd/custom_functions.html
Gradient Modeshttps://docs.pytorch.org/cppdocs/api/autograd/modes.html
CUDA Supporthttps://docs.pytorch.org/cppdocs/api/cuda/index.html
CUDA Streamshttps://docs.pytorch.org/cppdocs/api/cuda/streams.html
CUDA Guardshttps://docs.pytorch.org/cppdocs/api/cuda/guards.html
CUDA Utility Functionshttps://docs.pytorch.org/cppdocs/api/cuda/utilities.html
XPU Supporthttps://docs.pytorch.org/cppdocs/api/xpu/index.html
XPU Streamshttps://docs.pytorch.org/cppdocs/api/xpu/streams.html
XPU Utility Functionshttps://docs.pytorch.org/cppdocs/api/xpu/utilities.html
Neural Network Modules (torch::nn)https://docs.pytorch.org/cppdocs/api/nn/index.html
Containershttps://docs.pytorch.org/cppdocs/api/nn/containers.html
Convolution Layershttps://docs.pytorch.org/cppdocs/api/nn/convolution.html
Pooling Layershttps://docs.pytorch.org/cppdocs/api/nn/pooling.html
Linear Layershttps://docs.pytorch.org/cppdocs/api/nn/linear.html
Activation Functionshttps://docs.pytorch.org/cppdocs/api/nn/activation.html
Normalization Layershttps://docs.pytorch.org/cppdocs/api/nn/normalization.html
Dropout Layershttps://docs.pytorch.org/cppdocs/api/nn/dropout.html
Embedding Layershttps://docs.pytorch.org/cppdocs/api/nn/embedding.html
Recurrent Layershttps://docs.pytorch.org/cppdocs/api/nn/recurrent.html
Transformer Layershttps://docs.pytorch.org/cppdocs/api/nn/transformer.html
Loss Functionshttps://docs.pytorch.org/cppdocs/api/nn/loss.html
Functional APIhttps://docs.pytorch.org/cppdocs/api/nn/functional.html
Utilitieshttps://docs.pytorch.org/cppdocs/api/nn/utilities.html
Optimizers (torch::optim)https://docs.pytorch.org/cppdocs/api/optim/index.html
Gradient Descent Optimizershttps://docs.pytorch.org/cppdocs/api/optim/gradient_descent.html
Adaptive Learning Rate Optimizershttps://docs.pytorch.org/cppdocs/api/optim/adaptive.html
Second-Order Optimizershttps://docs.pytorch.org/cppdocs/api/optim/second_order.html
Learning Rate Schedulershttps://docs.pytorch.org/cppdocs/api/optim/schedulers.html
Data Loading (torch::data)https://docs.pytorch.org/cppdocs/api/data/index.html
Datasetshttps://docs.pytorch.org/cppdocs/api/data/datasets.html
DataLoaderhttps://docs.pytorch.org/cppdocs/api/data/dataloader.html
Samplershttps://docs.pytorch.org/cppdocs/api/data/samplers.html
Transformshttps://docs.pytorch.org/cppdocs/api/data/transforms.html
Serialization (torch::serialize)https://docs.pytorch.org/cppdocs/api/serialize/index.html
Saving and Loadinghttps://docs.pytorch.org/cppdocs/api/serialize/save_load.html
Archiveshttps://docs.pytorch.org/cppdocs/api/serialize/archives.html
Checkpointshttps://docs.pytorch.org/cppdocs/api/serialize/checkpoints.html
Torch Library APIhttps://docs.pytorch.org/cppdocs/api/library/index.html
Operator Registrationhttps://docs.pytorch.org/cppdocs/api/library/registration.html
Custom Classeshttps://docs.pytorch.org/cppdocs/api/library/custom_classes.html
Library Versioninghttps://docs.pytorch.org/cppdocs/api/library/versioning.html
Torch Stable APIhttps://docs.pytorch.org/cppdocs/api/stable/index.html
Library Registration Macroshttps://docs.pytorch.org/cppdocs/api/stable/registration.html
Stable Operatorshttps://docs.pytorch.org/cppdocs/api/stable/operators.html
Utilitieshttps://docs.pytorch.org/cppdocs/api/stable/utilities.html
https://docs.pytorch.org/cppdocs/index.html
C++ API Referencehttps://docs.pytorch.org/cppdocs/api/index.html
Data Loading (torch::data)https://docs.pytorch.org/cppdocs/api/data/index.html
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#datasets
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#dataset-base-class
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
Selfhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets7DatasetE
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets7DatasetE
Datasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_dataset
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_batch_dataset
SingleExamplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets7DatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset11ExampleTypeE
ExampleTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset11ExampleTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset3getE6size_t
ExampleTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset11ExampleTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset9get_batchE8ArrayRefI6size_tE
get()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_dataset_1a01a5c782af04f0d81941a2a400f51d80
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
torch::data::datasets::Dataset< MNIST >https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_dataset
torch::data::datasets::Dataset< TensorDataset, TensorExample >https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_dataset
torch::data::datasets::StatefulDataset< ChunkDataset< ChunkReader, samplers::RandomSampler, samplers::RandomSampler >, ChunkReader::BatchType, size_t >https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_stateful_dataset
Selfhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset8SelfTypeE
Batchhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset9BatchTypeE
BatchRequesthttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset16BatchRequestTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDatasetD0Ev
Batchhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
BatchRequesthttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset9get_batchE12BatchRequest
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12BatchDataset4sizeEv
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
Selfhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENR5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENR5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENR5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
Selfhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENO5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENO5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENO5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset9BatchTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset11is_statefulE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#statefuldataset
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
Selfhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets15StatefulDatasetE
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets15StatefulDatasetE
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_stateful_dataset_1abf935cd630accebde71d44caad97cdef
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_stateful_dataset_1abf935cd630accebde71d44caad97cdef
StatefulDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_stateful_dataset
StatefulDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_stateful_dataset
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15StatefulDataset5resetEv
OutputArchivehttps://docs.pytorch.org/cppdocs/api/serialize/archives.html#_CPPv4N5torch9serialize13OutputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets15StatefulDataset4saveERN9serialize13OutputArchiveE
InputArchivehttps://docs.pytorch.org/cppdocs/api/serialize/archives.html#_CPPv4N5torch9serialize12InputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15StatefulDataset4loadERN9serialize12InputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#chunkdatareader
ExampleType_https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets15ChunkDataReaderE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets15ChunkDataReaderE
ChunkType_https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets15ChunkDataReaderE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader9ChunkTypeE
ExampleType_https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets15ChunkDataReaderE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader11ExampleTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReaderD0Ev
ChunkTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader9ChunkTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader10read_chunkE6size_t
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader11chunk_countEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader5resetEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#custom-dataset-example
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#mapdataset
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
AppliedTransformhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
AppliedTransformhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset11DatasetTypeE
AppliedTransformhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset13TransformTypeE
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset16BatchRequestTypeE
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
AppliedTransformhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset15OutputBatchTypeE
DatasetTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset11DatasetTypeE
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset13TransformTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset10MapDatasetE11DatasetType13TransformType
OutputBatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset15OutputBatchTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset16BatchRequestTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset9get_batchE16BatchRequestType
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets10MapDataset4sizeEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset5resetEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset_1a46644ee9431189686f06c63938f87e48
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset_1a46644ee9431189686f06c63938f87e48
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_map_dataset_1a46644ee9431189686f06c63938f87e48
SourceDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset7datasetEv
AppliedTransformhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset9transformEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#chunkdataset
RandomSamplerhttps://docs.pytorch.org/cppdocs/api/data/samplers.html#_CPPv4N5torch4data8samplers13RandomSamplerE
RandomSamplerhttps://docs.pytorch.org/cppdocs/api/data/samplers.html#_CPPv4N5torch4data8samplers13RandomSamplerE
StatefulDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets15StatefulDatasetE
ChunkDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
ChunkReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
RandomSamplerhttps://docs.pytorch.org/cppdocs/api/data/samplers.html#_CPPv4N5torch4data8samplers13RandomSamplerE
RandomSamplerhttps://docs.pytorch.org/cppdocs/api/data/samplers.html#_CPPv4N5torch4data8samplers13RandomSamplerE
ChunkReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
http://martin.zinkevich.org/publications/nips2010.pdfhttp://martin.zinkevich.org/publications/nips2010.pdf
ChunkReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9BatchTypeE
ChunkReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18UnwrappedBatchTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset16BatchRequestTypeE
ChunkSamplerhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset16ChunkSamplerTypeE
ExampleSamplerhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18ExampleSamplerTypeE
ChunkReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
ChunkSamplerhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
ExampleSamplerhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
UnwrappedBatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18UnwrappedBatchTypeE
UnwrappedBatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18UnwrappedBatchTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset12ChunkDatasetE11ChunkReader12ChunkSampler14ExampleSampler19ChunkDatasetOptionsNSt8functionIFvR18UnwrappedBatchTypeEEE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDatasetD0Ev
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9BatchTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9get_batchE6size_t
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_batch_dataset
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchstructtorch_1_1data_1_1_example
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9BatchTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9get_batchEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset5resetEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12ChunkDataset4sizeEv
ChunkSamplerTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset16ChunkSamplerTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset13chunk_samplerEv
OutputArchivehttps://docs.pytorch.org/cppdocs/api/serialize/archives.html#_CPPv4N5torch9serialize13OutputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12ChunkDataset4saveERN9serialize13OutputArchiveE
InputArchivehttps://docs.pytorch.org/cppdocs/api/serialize/archives.html#_CPPv4N5torch9serialize12InputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset4loadERN9serialize12InputArchiveE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#sharedbatchdataset
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
SharedBatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_batch_dataset
SharedBatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_shared_batch_dataset
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset9BatchTypeE
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset16BatchRequestTypeE
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset18SharedBatchDatasetENSt10shared_ptrI17UnderlyingDatasetEE
SharedBatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_shared_batch_dataset
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset9BatchTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset16BatchRequestTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset9get_batchE16BatchRequestType
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDataset4sizeEv
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDatasetmlEv
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDatasetmlEv
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDatasetptEv
UnderlyingDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDatasetptEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset5resetEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_shared_batch_dataset_1a773c9a84471261fa694776bbebac94a3
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#built-in-datasets
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#mnist
Datasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets7DatasetE
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNISTE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNISTE
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_m_n_i_s_t
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4ModeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4Mode6kTrainE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4Mode5kTestE
Modehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4ModeE
Modehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4ModeE
kTrainhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4Mode6kTrainE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST5MNISTERKNSt6stringE4Mode
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_m_n_i_s_t
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_m_n_i_s_t
http://yann.lecun.com/exdb/mnisthttp://yann.lecun.com/exdb/mnist
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST3getE6size_t
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchstructtorch_1_1data_1_1_example
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST4sizeEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST8is_trainEv
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchclasstorch_1_1data_1_1datasets_1_1_m_n_i_s_t
Tensorhttps://docs.pytorch.org/cppdocs/api/aten/tensor.html#_CPPv46Tensorv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST6imagesEv
Tensorhttps://docs.pytorch.org/cppdocs/api/aten/tensor.html#_CPPv46Tensorv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST7targetsEv
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#example-struct
Tensorhttps://docs.pytorch.org/cppdocs/api/aten/tensor.html#_CPPv4N2at6TensorE
Tensorhttps://docs.pytorch.org/cppdocs/api/aten/tensor.html#_CPPv4N2at6TensorE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#PyTorchstructtorch_1_1data_1_1_example
Datahttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example8DataTypeE
Targethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example10TargetTypeE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example7ExampleEv
Datahttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
Targethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example7ExampleE4Data6Target
Datahttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example4dataE
Targethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
#https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example6targetE
previous Data Loading (torch::data) https://docs.pytorch.org/cppdocs/api/data/index.html
next DataLoader https://docs.pytorch.org/cppdocs/api/data/dataloader.html
PyData Sphinx Themehttps://pydata-sphinx-theme.readthedocs.io/en/stable/index.html
previous Data Loading (torch::data) https://docs.pytorch.org/cppdocs/api/data/index.html
next DataLoader https://docs.pytorch.org/cppdocs/api/data/dataloader.html
Dataset Base Classhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#dataset-base-class
torch::data::datasets::Datasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets7DatasetE
ExampleTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset11ExampleTypeE
get()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset3getE6size_t
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets7Dataset9get_batchE8ArrayRefI6size_tE
torch::data::datasets::BatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12BatchDatasetE
SelfTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset8SelfTypeE
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset9BatchTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset16BatchRequestTypeE
~BatchDataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDatasetD0Ev
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset9get_batchE12BatchRequest
size()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12BatchDataset4sizeEv
map()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENR5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
map()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0ENO5torch4data8datasets12BatchDataset3mapE10MapDatasetI4Self13TransformTypeE13TransformType
is_statefulhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12BatchDataset11is_statefulE
StatefulDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#statefuldataset
torch::data::datasets::StatefulDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets15StatefulDatasetE
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15StatefulDataset5resetEv
save()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets15StatefulDataset4saveERN9serialize13OutputArchiveE
load()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15StatefulDataset4loadERN9serialize12InputArchiveE
ChunkDataReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#chunkdatareader
torch::data::datasets::ChunkDataReaderhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets15ChunkDataReaderE
ChunkTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader9ChunkTypeE
ExampleTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader11ExampleTypeE
~ChunkDataReader()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReaderD0Ev
read_chunk()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader10read_chunkE6size_t
chunk_count()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader11chunk_countEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets15ChunkDataReader5resetEv
Custom Dataset Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#custom-dataset-example
MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#mapdataset
torch::data::datasets::MapDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data8datasets10MapDatasetE
DatasetTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset11DatasetTypeE
TransformTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset13TransformTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset16BatchRequestTypeE
OutputBatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset15OutputBatchTypeE
MapDataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset10MapDatasetE11DatasetType13TransformType
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset9get_batchE16BatchRequestType
size()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets10MapDataset4sizeEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset5resetEv
dataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset7datasetEv
transform()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets10MapDataset9transformEv
ChunkDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#chunkdataset
torch::data::datasets::ChunkDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I000EN5torch4data8datasets12ChunkDatasetE
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9BatchTypeE
UnwrappedBatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18UnwrappedBatchTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset16BatchRequestTypeE
ChunkSamplerTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset16ChunkSamplerTypeE
ExampleSamplerTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset18ExampleSamplerTypeE
ChunkDataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset12ChunkDatasetE11ChunkReader12ChunkSampler14ExampleSampler19ChunkDatasetOptionsNSt8functionIFvR18UnwrappedBatchTypeEEE
~ChunkDataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDatasetD0Ev
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9get_batchE6size_t
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset9get_batchEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset5resetEv
size()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12ChunkDataset4sizeEv
chunk_sampler()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset13chunk_samplerEv
save()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets12ChunkDataset4saveERN9serialize13OutputArchiveE
load()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets12ChunkDataset4loadERN9serialize12InputArchiveE
SharedBatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#sharedbatchdataset
torch::data::datasets::SharedBatchDatasethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I0EN5torch4data8datasets18SharedBatchDatasetE
BatchTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset9BatchTypeE
BatchRequestTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset16BatchRequestTypeE
SharedBatchDataset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset18SharedBatchDatasetENSt10shared_ptrI17UnderlyingDatasetEE
get_batch()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset9get_batchE16BatchRequestType
size()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDataset4sizeEv
operator*()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDatasetmlEv
operator*()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDatasetmlEv
operator->()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDatasetptEv
operator->()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets18SharedBatchDatasetptEv
reset()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets18SharedBatchDataset5resetEv
Built-in Datasetshttps://docs.pytorch.org/cppdocs/api/data/datasets.html#built-in-datasets
MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#mnist
torch::data::datasets::MNISThttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNISTE
Modehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4ModeE
kTrainhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4Mode6kTrainE
kTesthttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST4Mode5kTestE
MNIST()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST5MNISTERKNSt6stringE4Mode
get()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data8datasets5MNIST3getE6size_t
size()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST4sizeEv
is_train()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST8is_trainEv
images()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST6imagesEv
targets()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4NK5torch4data8datasets5MNIST7targetsEv
Example Structhttps://docs.pytorch.org/cppdocs/api/data/datasets.html#example-struct
torch::data::Examplehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4I00EN5torch4data7ExampleE
DataTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example8DataTypeE
TargetTypehttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example10TargetTypeE
Example()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example7ExampleEv
Example()https://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example7ExampleE4Data6Target
datahttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example4dataE
targethttps://docs.pytorch.org/cppdocs/api/data/datasets.html#_CPPv4N5torch4data7Example6targetE
Show Source https://docs.pytorch.org/cppdocs/_sources/api/data/datasets.md.txt
ExecuTorchhttps://docs.pytorch.org/executorch
Helionhttps://docs.pytorch.org/helion
torchaohttps://docs.pytorch.org/ao
kinetohttps://github.com/pytorch/kineto
torchtitanhttps://github.com/pytorch/torchtitan
TorchRLhttps://docs.pytorch.org/rl
torchvisionhttps://docs.pytorch.org/vision
torchaudiohttps://docs.pytorch.org/audio
tensordicthttps://docs.pytorch.org/tensordict
PyTorch on XLA Deviceshttps://docs.pytorch.org/xla
View Docshttps://docs.pytorch.org/docs/stable/index.html
View Tutorialshttps://docs.pytorch.org/tutorials
View Resourceshttps://pytorch.org/resources
Privacy Policyhttps://www.linuxfoundation.org/privacy/
https://www.facebook.com/pytorch
https://twitter.com/pytorch
https://www.youtube.com/pytorch
https://www.linkedin.com/company/pytorch
https://pytorch.slack.com
https://pytorch.org/wechat
Policieshttps://www.linuxfoundation.org/legal/policies
Trademark Usagehttps://www.linuxfoundation.org/trademark-usage
Privacy Policyhttp://www.linuxfoundation.org/privacy
Cookies Policyhttps://opensource.fb.com/legal/cookie-policy
Sphinxhttps://www.sphinx-doc.org/
PyData Sphinx Themehttps://pydata-sphinx-theme.readthedocs.io/en/stable/index.html

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.