pub struct LayerNorm {
pub weight: Vec<f32>,
pub bias: Vec<f32>,
pub eps: f32,
}Expand description
LayerNorm
Fields§
§weight: Vec<f32>§bias: Vec<f32>§eps: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayerNorm
impl RefUnwindSafe for LayerNorm
impl Send for LayerNorm
impl Sync for LayerNorm
impl Unpin for LayerNorm
impl UnwindSafe for LayerNorm
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