pub struct MiniBatch {
pub input: Array2D,
pub output: Array2D,
}Fields§
§input: Array2D§output: Array2DImplementations§
Source§impl MiniBatch
impl MiniBatch
pub fn new(b: Vec<&LabeledEntry>) -> Self
pub fn new_no_ref(b: Vec<LabeledEntry>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MiniBatch
impl RefUnwindSafe for MiniBatch
impl Send for MiniBatch
impl Sync for MiniBatch
impl Unpin for MiniBatch
impl UnwindSafe for MiniBatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more