pub struct DataLoader<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T, const N: usize> DataLoaderTrait for DataLoader<T>
impl<T, const N: usize> DataLoaderTrait for DataLoader<T>
fn shape(&self) -> &Shape
fn strides(&self) -> &Strides
fn offset(&mut self, offset: isize)
fn size(&self) -> usize
fn mem_size(&self) -> usize
fn fill_ne_bytes_slice(&self, offset: isize, writer: &mut [u8])
fn fill_be_bytes_slice(&self, offset: isize, writer: &mut [u8])
fn fill_le_bytes_slice(&self, offset: isize, writer: &mut [u8])
fn dtype(&self) -> &'static str
Auto Trait Implementations§
impl<T> Freeze for DataLoader<T>
impl<T> RefUnwindSafe for DataLoader<T>where
T: RefUnwindSafe,
impl<T> !Send for DataLoader<T>
impl<T> !Sync for DataLoader<T>
impl<T> Unpin for DataLoader<T>
impl<T> UnwindSafe for DataLoader<T>where
T: RefUnwindSafe,
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