pub struct LinearGradients {
pub weight: Array2<f64>,
pub bias: Array2<f64>,
}Expand description
Holds gradients for linear layer parameters during backpropagation
Fields§
§weight: Array2<f64>§bias: Array2<f64>Trait Implementations§
Source§impl Clone for LinearGradients
impl Clone for LinearGradients
Auto Trait Implementations§
impl Freeze for LinearGradients
impl RefUnwindSafe for LinearGradients
impl Send for LinearGradients
impl Sync for LinearGradients
impl Unpin for LinearGradients
impl UnsafeUnpin for LinearGradients
impl UnwindSafe for LinearGradients
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