pub struct DiagGrads<B: Backend> {
pub d_v_bnlmhp: F<B, 6>,
pub d_c_bnlmhr: F<B, 6>,
pub d_b_bnlmhr: F<B, 6>,
pub d_gamma_bnlh: F<B, 4>,
}Expand description
Gradients produced by y_diag_correction_backward — the y_diag term’s
contribution to d_v, d_c, d_b and the whole of d_gamma (no other
term consumes γ).
Fields§
§d_v_bnlmhp: F<B, 6>y_diag’s contribution to the gradient of v.
d_c_bnlmhr: F<B, 6>y_diag’s contribution to the gradient of C.
d_b_bnlmhr: F<B, 6>y_diag’s contribution to the gradient of B.
d_gamma_bnlh: F<B, 4>The gradient of γ.
Auto Trait Implementations§
impl<B> Freeze for DiagGrads<B>
impl<B> RefUnwindSafe for DiagGrads<B>where
F<B, 6>: RefUnwindSafe,
F<B, 4>: RefUnwindSafe,
impl<B> Send for DiagGrads<B>
impl<B> Sync for DiagGrads<B>
impl<B> Unpin for DiagGrads<B>
impl<B> UnsafeUnpin for DiagGrads<B>where
F<B, 6>: UnsafeUnpin,
F<B, 4>: UnsafeUnpin,
impl<B> UnwindSafe for DiagGrads<B>where
F<B, 6>: UnwindSafe,
F<B, 4>: UnwindSafe,
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