pub struct DataSet<const N: usize, const O: usize> {
pub inputs: Vec<[f32; N]>,
pub outputs: Vec<[f32; O]>,
}
Expand description
A set of inputs and the expected Outputs
Fields§
§inputs: Vec<[f32; N]>
§outputs: Vec<[f32; O]>
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize, const O: usize> Freeze for DataSet<N, O>
impl<const N: usize, const O: usize> RefUnwindSafe for DataSet<N, O>
impl<const N: usize, const O: usize> Send for DataSet<N, O>
impl<const N: usize, const O: usize> Sync for DataSet<N, O>
impl<const N: usize, const O: usize> Unpin for DataSet<N, O>
impl<const N: usize, const O: usize> UnwindSafe for DataSet<N, O>
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