pub struct Mnist {
pub trn_img: Vec<u8>,
pub trn_lbl: Vec<u8>,
pub val_img: Vec<u8>,
pub val_lbl: Vec<u8>,
pub tst_img: Vec<u8>,
pub tst_lbl: Vec<u8>,
}
Expand description
Struct containing image and label vectors for the training, validation, and test sets.
Fields§
§trn_img: Vec<u8>
The training images vector.
trn_lbl: Vec<u8>
The training labels vector.
val_img: Vec<u8>
The validation images vector.
val_lbl: Vec<u8>
The validation labels vector.
tst_img: Vec<u8>
The test images vector.
tst_lbl: Vec<u8>
The test labels vector.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Mnist
impl Send for Mnist
impl Sync for Mnist
impl Unpin for Mnist
impl UnwindSafe for Mnist
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