pub struct EmptyLayerState;Expand description
Empty state for layers that store all persistent state externally
(e.g., attention layers where KV is in PagedKvCache).
Trait Implementations§
Source§impl LayerState for EmptyLayerState
impl LayerState for EmptyLayerState
Auto Trait Implementations§
impl Freeze for EmptyLayerState
impl RefUnwindSafe for EmptyLayerState
impl Send for EmptyLayerState
impl Sync for EmptyLayerState
impl Unpin for EmptyLayerState
impl UnwindSafe for EmptyLayerState
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