pub struct DflashTapSink {
pub layer_ids: Vec<usize>,
pub buf: CudaSlice<f32>,
pub hidden: usize,
pub t: usize,
pub base: usize,
}Expand description
See Cache::dflash_taps. Armed per forward by the dflash round (t = that forward’s
row count); the trunk writes tap slot s of row r at buf[rn_tapshidden + s*hidden ..].
Fields§
§layer_ids: Vec<usize>§buf: CudaSlice<f32>§t: usize§base: usizeRow offset for writers that walk the buffer in windows (the qwen chunked prime): tap rows land at [base..base+t_chunk). Whole-buffer writers leave it 0.
Auto Trait Implementations§
impl Freeze for DflashTapSink
impl RefUnwindSafe for DflashTapSink
impl Send for DflashTapSink
impl Sync for DflashTapSink
impl Unpin for DflashTapSink
impl UnsafeUnpin for DflashTapSink
impl UnwindSafe for DflashTapSink
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