| 
| 
  | TestIndexDataset (size_t size) | 
|   | 
| 
std::vector< int >  | get_batch (TestIndex index) override | 
|   | Returns a batch of data given an index. 
  | 
|   | 
| 
torch::optional< size_t >  | size () const override | 
|   | Returns the size of the dataset, or an empty optional if it is unsized. 
  | 
|   | 
| 
MapDataset< TestIndexDataset, TransformType >  | map (TransformType transform)& | 
|   | Creates a MapDataset that applies the given transform to this dataset. 
  | 
|   | 
| 
MapDataset< TestIndexDataset, TransformType >  | map (TransformType transform)&& | 
|   | Creates a MapDataset that applies the given transform to this dataset. 
  | 
|   | 
 | 
| 
using  | SelfType = TestIndexDataset | 
|   | 
| 
using  | BatchType = std::vector< int > | 
|   | 
| 
using  | BatchRequestType = TestIndex | 
|   | 
| 
static constexpr bool  | is_stateful | 
|   | 
Definition at line 784 of file dataloader.cpp.
 
The documentation for this struct was generated from the following file: