pub struct TiledAttentionDims {
pub max_seqs: usize,
pub num_q_heads: usize,
pub num_kv_heads: usize,
pub head_dim: usize,
pub block_size: usize,
pub tile_capacity: usize,
}Fields§
§max_seqs: usize§num_q_heads: usize§num_kv_heads: usize§head_dim: usize§block_size: usize§tile_capacity: usizeImplementations§
Trait Implementations§
Source§impl Clone for TiledAttentionDims
impl Clone for TiledAttentionDims
Source§fn clone(&self) -> TiledAttentionDims
fn clone(&self) -> TiledAttentionDims
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TiledAttentionDims
impl Debug for TiledAttentionDims
impl Copy for TiledAttentionDims
Auto Trait Implementations§
impl Freeze for TiledAttentionDims
impl RefUnwindSafe for TiledAttentionDims
impl Send for TiledAttentionDims
impl Sync for TiledAttentionDims
impl Unpin for TiledAttentionDims
impl UnwindSafe for TiledAttentionDims
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