pub struct RMSNorm {
pub weight: Vec<f32>,
pub eps: f32,
}Expand description
RMSNorm (Root Mean Square Layer Normalization)
Fields§
§weight: Vec<f32>§eps: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RMSNorm
impl RefUnwindSafe for RMSNorm
impl Send for RMSNorm
impl Sync for RMSNorm
impl Unpin for RMSNorm
impl UnwindSafe for RMSNorm
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