pub struct SupervisedImageFolderLoadResult {
pub dataset: SupervisedDataset,
pub class_names: Vec<String>,
}Expand description
Result payload for image-folder dataset loading with explicit class mapping.
Fields§
§dataset: SupervisedDataset§class_names: Vec<String>Trait Implementations§
Source§impl Clone for SupervisedImageFolderLoadResult
impl Clone for SupervisedImageFolderLoadResult
Source§fn clone(&self) -> SupervisedImageFolderLoadResult
fn clone(&self) -> SupervisedImageFolderLoadResult
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 moreSource§impl PartialEq for SupervisedImageFolderLoadResult
impl PartialEq for SupervisedImageFolderLoadResult
Source§fn eq(&self, other: &SupervisedImageFolderLoadResult) -> bool
fn eq(&self, other: &SupervisedImageFolderLoadResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SupervisedImageFolderLoadResult
Auto Trait Implementations§
impl Freeze for SupervisedImageFolderLoadResult
impl RefUnwindSafe for SupervisedImageFolderLoadResult
impl Send for SupervisedImageFolderLoadResult
impl Sync for SupervisedImageFolderLoadResult
impl Unpin for SupervisedImageFolderLoadResult
impl UnsafeUnpin for SupervisedImageFolderLoadResult
impl UnwindSafe for SupervisedImageFolderLoadResult
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> 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 more