pub struct Layer {
pub activation: Box<dyn HasGrad<f64>>,
pub weights: Array2<f64>,
pub gradients: Array2<f64>,
}Fields§
§activation: Box<dyn HasGrad<f64>>§weights: Array2<f64>§gradients: Array2<f64>Implementations§
Auto Trait Implementations§
impl Freeze for Layer
impl !RefUnwindSafe for Layer
impl !Send for Layer
impl !Sync for Layer
impl Unpin for Layer
impl !UnwindSafe for Layer
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