Docs.rs
ai-dataloader-0.6.2
ai-dataloader 0.6.2
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
Tudyx
Dependencies
itertools ^0.13.0
normal
ndarray ^0.15.4
normal
ndarray-rand ^0.14.0
normal
once_cell ^1.17.1
normal
optional
rand ^0.8.5
normal
rayon ^1.7.0
normal
optional
tch ^0.17.0
normal
optional
criterion ^0.5.1
dev
csv ^1.1.6
dev
image ^0.25.1
dev
nshare ^0.9.0
dev
Versions
100%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ai_
dataloader
0.6.2
Module indexable
Sections
Indexable
Dataloader
.
Module Items
Modules
Structs
Traits
In crate ai_
dataloader
ai_dataloader
Module
indexable
Copy item path
Source
Expand description
§
Indexable
Dataloader
.
Modules
§
sampler
Defines the strategy to draw samples from the dataset.
Structs
§
Data
Loader
Data loader. Combines a dataset and a sampler, and provides an iterable over the given dataset.
Ndarray
Dataset
Basic dataset than can contains two
ndarray
of any dimension.
Traits
§
Dataset
A dataset is just something that has a length and is indexable. A
Vec
of
dataset
collate output must also be collatable.
GetSample
Return a sample from the dataset at a given index.
Len
Basic trait for anything that could have a length. Even if a lot of struct have a
len()
method in the standard library, to my knowledge this function is not included into any standard trait.