pub struct DoryState {
pub slots: Vec<Vec<KvSlot>>,
pub pos: usize,
pub gate_tokens: u64,
pub gate_one: u64,
/* private fields */
}Expand description
Host KV state: slots[attention ordinal][loop].
Fields§
§slots: Vec<Vec<KvSlot>>§pos: usize§gate_tokens: u64§gate_one: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for DoryState
impl Freeze for DoryState
impl Move for DoryState
impl RefUnwindSafe for DoryState
impl Send for DoryState
impl Sync for DoryState
impl Unpin for DoryState
impl UnsafeUnpin for DoryState
impl UnwindSafe for DoryState
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