pub struct Layer {
pub weights: Array2<f64>,
pub biases: Array1<f64>,
pub activation: Activation,
pub weight_momentum: Array2<f64>,
pub bias_momentum: Array1<f64>,
}Fields§
§weights: Array2<f64>§biases: Array1<f64>§activation: Activation§weight_momentum: Array2<f64>§bias_momentum: Array1<f64>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