pub struct Dataset {
pub train_images: Tensor,
pub train_labels: Tensor,
pub test_images: Tensor,
pub test_labels: Tensor,
pub labels: i64,
}
Fields§
§train_images: Tensor
§train_labels: Tensor
§test_images: Tensor
§test_labels: Tensor
§labels: i64
Implementations§
Trait Implementations§
Auto Trait Implementations§
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> 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