pub struct LSTMCellGradients {
pub w_ih: Array2<f64>,
pub w_hh: Array2<f64>,
pub b_ih: Array2<f64>,
pub b_hh: Array2<f64>,
}
Expand description
Holds gradients for all LSTM cell parameters during backpropagation
Fields§
§w_ih: Array2<f64>
§w_hh: Array2<f64>
§b_ih: Array2<f64>
§b_hh: Array2<f64>
Trait Implementations§
Source§impl Clone for LSTMCellGradients
impl Clone for LSTMCellGradients
Source§fn clone(&self) -> LSTMCellGradients
fn clone(&self) -> LSTMCellGradients
Returns a duplicate of the value. Read more
1.0.0 · 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 LSTMCellGradients
impl RefUnwindSafe for LSTMCellGradients
impl Send for LSTMCellGradients
impl Sync for LSTMCellGradients
impl Unpin for LSTMCellGradients
impl UnwindSafe for LSTMCellGradients
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