pub struct GRUCellGradients {
pub w_ir: Array2<f64>,
pub w_hr: Array2<f64>,
pub b_ir: Array2<f64>,
pub b_hr: Array2<f64>,
pub w_iz: Array2<f64>,
pub w_hz: Array2<f64>,
pub b_iz: Array2<f64>,
pub b_hz: Array2<f64>,
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 GRU cell parameters during backpropagation
Fields§
§w_ir: Array2<f64>§w_hr: Array2<f64>§b_ir: Array2<f64>§b_hr: Array2<f64>§w_iz: Array2<f64>§w_hz: Array2<f64>§b_iz: Array2<f64>§b_hz: Array2<f64>§w_ih: Array2<f64>§w_hh: Array2<f64>§b_ih: Array2<f64>§b_hh: Array2<f64>Trait Implementations§
Source§impl Clone for GRUCellGradients
impl Clone for GRUCellGradients
Source§fn clone(&self) -> GRUCellGradients
fn clone(&self) -> GRUCellGradients
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GRUCellGradients
impl RefUnwindSafe for GRUCellGradients
impl Send for GRUCellGradients
impl Sync for GRUCellGradients
impl Unpin for GRUCellGradients
impl UnwindSafe for GRUCellGradients
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