pub trait GetSample {
    type Sample: Sized;

    fn get_sample(&self, index: usize) -> Self::Sample;
}
Expand description

Return a sample from the dataset at a given index.

Required Associated Types

Type of one sample of the dataset.

Required Methods

Return the dataset sample corresponding to the index.

Implementations on Foreign Types

Implementors