|
| Dataset (const Dataset &other) |
|
| Dataset (Dataset &&other) noexcept=default |
|
Dataset & | operator= (const Dataset &other)=delete |
|
Dataset & | operator= (Dataset &&other) noexcept=delete |
|
size_t | get_batch (torch::ArrayRef< size_t > indices) override |
|
torch::optional< size_t > | size () const override |
| Returns the size of the dataset, or an empty optional if it is unsized.
|
|
virtual size_t | get_batch (ArrayRef< size_t >request)=0 |
| Returns a batch of data given an index.
|
|
MapDataset< Dataset, TransformType > | map (TransformType transform)& |
| Creates a MapDataset that applies the given transform to this dataset.
|
|
MapDataset< Dataset, TransformType > | map (TransformType transform)&& |
| Creates a MapDataset that applies the given transform to this dataset.
|
|
|
using | SelfType = Dataset |
|
using | BatchType = size_t |
|
using | BatchRequestType = ArrayRef< size_t > |
|
static constexpr bool | is_stateful |
|
Definition at line 1344 of file dataloader.cpp.
The documentation for this struct was generated from the following file: