pub struct GroupedQueryAttention {
pub q_proj: Linear,
pub k_proj: Linear,
pub v_proj: Linear,
pub o_proj: Linear,
pub num_groups: usize,
}Fields§
§q_proj: Linear§k_proj: Linear§v_proj: Linear§o_proj: Linear§num_groups: usizeImplementations§
Auto Trait Implementations§
impl Freeze for GroupedQueryAttention
impl RefUnwindSafe for GroupedQueryAttention
impl Send for GroupedQueryAttention
impl Sync for GroupedQueryAttention
impl Unpin for GroupedQueryAttention
impl UnwindSafe for GroupedQueryAttention
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