pub struct Cifar10Dataset { /* private fields */ }Expand description
CIFAR-10 image classification dataset
Implementations§
Source§impl Cifar10Dataset
impl Cifar10Dataset
Trait Implementations§
Source§impl CanonicalDataset for Cifar10Dataset
impl CanonicalDataset for Cifar10Dataset
Source§fn data(&self) -> &ArrowDataset
fn data(&self) -> &ArrowDataset
Returns the full dataset
Source§fn num_features(&self) -> usize
fn num_features(&self) -> usize
Returns the number of features (excluding label)
Source§fn num_classes(&self) -> usize
fn num_classes(&self) -> usize
Returns the number of classes (for classification datasets)
Source§fn feature_names(&self) -> &'static [&'static str]
fn feature_names(&self) -> &'static [&'static str]
Returns the feature column names
Source§fn target_name(&self) -> &'static str
fn target_name(&self) -> &'static str
Returns the label/target column name
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a description of the dataset
Source§impl Clone for Cifar10Dataset
impl Clone for Cifar10Dataset
Source§fn clone(&self) -> Cifar10Dataset
fn clone(&self) -> Cifar10Dataset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Cifar10Dataset
impl !RefUnwindSafe for Cifar10Dataset
impl Send for Cifar10Dataset
impl Sync for Cifar10Dataset
impl Unpin for Cifar10Dataset
impl UnsafeUnpin for Cifar10Dataset
impl !UnwindSafe for Cifar10Dataset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.