Skip to main content

Module dataset

Module dataset 

Expand description

Dataset module.

Modules§

audio
Audio datasets.
network
Network dataset utilities.
source
Sources for datasets.
transform
Dataset Transformations
vision
Vision datasets.

Structs§

DatasetError
Default error type used by Dataset implementations that don’t define their own.
DatasetIterator
Dataset iterator.
HuggingfaceDatasetLoader
Load a dataset from huggingface datasets.
InMemDataset
Dataset where all items are stored in ram.
SqliteDataset
This struct represents a dataset where all items are stored in an SQLite database. Each instance of this struct corresponds to a specific table within the SQLite database, and allows for interaction with the data stored in the table in a structured and typed manner.
SqliteDatasetStorage
The SqliteDatasetStorage struct represents a SQLite database for storing datasets. It consists of an optional name, a database file path, and a base directory for storage.
SqliteDatasetWriter
This SqliteDatasetWriter struct is a SQLite database writer dedicated to storing datasets. It retains the current writer’s state and its database connection.

Enums§

ImporterError
Error type for HuggingfaceDatasetLoader.
RowError
Error raised while deserializing a row into the target type.
SqliteDatasetError
Sqlite dataset error.

Traits§

Dataset
The dataset trait defines a basic collection of items with a predefined size.

Type Aliases§

Result
Result type for the sqlite dataset.