pub struct TrainSample {
pub features: Vec<f32>,
pub label: Vec<f32>,
}Fields§
§features: Vec<f32>§label: Vec<f32>Trait Implementations§
Source§impl Clone for TrainSample
impl Clone for TrainSample
Source§fn clone(&self) -> TrainSample
fn clone(&self) -> TrainSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrainSample
impl RefUnwindSafe for TrainSample
impl Send for TrainSample
impl Sync for TrainSample
impl Unpin for TrainSample
impl UnsafeUnpin for TrainSample
impl UnwindSafe for TrainSample
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