Struct rai_datasets::image::mnist::Dataset
source · pub struct Dataset {
pub train_images: Tensor,
pub train_labels: Tensor,
pub test_images: Tensor,
pub test_labels: Tensor,
pub labels: usize,
}
Fields§
§train_images: Tensor
§train_labels: Tensor
§test_images: Tensor
§test_labels: Tensor
§labels: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dataset
impl !RefUnwindSafe for Dataset
impl !Send for Dataset
impl !Sync for Dataset
impl Unpin for Dataset
impl !UnwindSafe for Dataset
Blanket Implementations§
source§impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
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