pub struct AttnGrads {
pub wqkv: Vec<f64>,
pub wo: Vec<f64>,
pub gproj: Option<Vec<f64>>,
pub iln: Vec<f64>,
pub pln: Vec<f64>,
}Expand description
Their gradients (f64 accumulators), same shapes.
Fields§
§wqkv: Vec<f64>§wo: Vec<f64>§gproj: Option<Vec<f64>>§iln: Vec<f64>§pln: Vec<f64>Auto Trait Implementations§
impl Freeze for AttnGrads
impl RefUnwindSafe for AttnGrads
impl Send for AttnGrads
impl Sync for AttnGrads
impl Unpin for AttnGrads
impl UnsafeUnpin for AttnGrads
impl UnwindSafe for AttnGrads
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