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§
source§impl<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,
source§impl<A1, A2, D1, D2> Debug for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Debug,
A2: Clone + Debug,
D1: Dimension + RemoveAxis + Debug,
D2: Dimension + RemoveAxis + Debug,
impl<A1, A2, D1, D2> Debug for NdarrayDataset<A1, A2, D1, D2>where A1: Clone + Debug, A2: Clone + Debug, D1: Dimension + RemoveAxis + Debug, D2: Dimension + RemoveAxis + Debug,
source§impl<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,
source§impl<A1, A2, D1, D2> Hash for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + Hash,
A2: Clone + Hash,
D1: Dimension + RemoveAxis + Hash,
D2: Dimension + RemoveAxis + Hash,
impl<A1, A2, D1, D2> Hash for NdarrayDataset<A1, A2, D1, D2>where A1: Clone + Hash, A2: Clone + Hash, D1: Dimension + RemoveAxis + Hash, D2: Dimension + RemoveAxis + Hash,
source§impl<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,
source§impl<A1, A2, D1, D2> PartialEq<NdarrayDataset<A1, A2, D1, D2>> for NdarrayDataset<A1, A2, D1, D2>where
A1: Clone + PartialEq,
A2: Clone + PartialEq,
D1: Dimension + RemoveAxis + PartialEq,
D2: Dimension + RemoveAxis + PartialEq,
impl<A1, A2, D1, D2> PartialEq<NdarrayDataset<A1, A2, D1, D2>> for NdarrayDataset<A1, A2, D1, D2>where A1: Clone + PartialEq, A2: Clone + PartialEq, D1: Dimension + RemoveAxis + PartialEq, D2: Dimension + RemoveAxis + PartialEq,
source§fn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
fn eq(&self, other: &NdarrayDataset<A1, A2, D1, D2>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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, A2, D1, D2> Eq for NdarrayDataset<A1, A2, D1, D2>where A1: Clone + Eq, A2: Clone + Eq, D1: Dimension + RemoveAxis + Eq, D2: Dimension + RemoveAxis + Eq,
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§
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