pub struct LFM2Layer {
pub gated_conv: GatedConv1d,
pub attention: GroupedQueryAttention,
pub ffn: SparseFfn,
pub norm: LayerNorm,
}Fields§
§gated_conv: GatedConv1d§attention: GroupedQueryAttention§ffn: SparseFfn§norm: LayerNormAuto Trait Implementations§
impl Freeze for LFM2Layer
impl RefUnwindSafe for LFM2Layer
impl Send for LFM2Layer
impl Sync for LFM2Layer
impl Unpin for LFM2Layer
impl UnwindSafe for LFM2Layer
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