Struct ai_dataloader::indexable::NdarrayDataset
source · pub struct NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,{
pub ndarrays: (Array<A1, D1>, Array<A2, D2>),
}Expand description
Basic dataset than can contains two ndarray of any dimension.
Fields
ndarrays: (Array<A1, D1>, Array<A2, D2>)The content of the dataset.
Trait Implementations
sourceimpl<A1, A2, D1, D2> Clone for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1, A2, D1, D2> Clone for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourceimpl<A1: Debug, A2: Debug, D1: Debug, D2: Debug> Debug for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1: Debug, A2: Debug, D1: Debug, D2: Debug> Debug for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourceimpl<A1, A2, D1, D2> GetSample for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1, A2, D1, D2> GetSample for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourceimpl<A1: Hash, A2: Hash, D1: Hash, D2: Hash> Hash for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1: Hash, A2: Hash, D1: Hash, D2: Hash> Hash for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourceimpl<A1, A2, D1, D2> Len for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1, A2, D1, D2> Len for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourceimpl<A1: PartialEq, A2: PartialEq, D1: PartialEq, D2: PartialEq> PartialEq<NdarrayDataset<A1, A2, D1, D2>> for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1: PartialEq, A2: PartialEq, D1: PartialEq, D2: PartialEq> PartialEq<NdarrayDataset<A1, A2, D1, D2>> for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
sourcefn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
fn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
impl<A1, A2, D1, D2> Dataset for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1: Eq, A2: Eq, D1: Eq, D2: Eq> Eq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1, A2, D1, D2> StructuralEq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
impl<A1, A2, D1, D2> StructuralPartialEq for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone,
A2: Clone,
D1: Dimension + RemoveAxis,
D2: Dimension + RemoveAxis,
Auto Trait Implementations
impl<A1, A2, D1, D2> RefUnwindSafe for NdarrayDataset<A1, A2, D1, D2>where
A1: RefUnwindSafe,
A2: RefUnwindSafe,
D1: RefUnwindSafe,
D2: RefUnwindSafe,
impl<A1, A2, D1, D2> Send for NdarrayDataset<A1, A2, D1, D2>where
A1: Send,
A2: Send,
impl<A1, A2, D1, D2> Sync for NdarrayDataset<A1, A2, D1, D2>where
A1: Sync,
A2: Sync,
impl<A1, A2, D1, D2> Unpin for NdarrayDataset<A1, A2, D1, D2>where
D1: Unpin,
D2: Unpin,
impl<A1, A2, D1, D2> UnwindSafe for NdarrayDataset<A1, A2, D1, D2>where
A1: RefUnwindSafe,
A2: RefUnwindSafe,
D1: UnwindSafe,
D2: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more