pub struct HcScratch {
pub mixes: Vec<f32>,
pub pre: Vec<f32>,
pub post: Vec<f32>,
pub comb: Vec<f32>,
pub folded: Vec<f32>,
pub block_out: Vec<f32>,
pub residual: Vec<f32>,
}Expand description
Reusable buffers for hc_block — one allocation per pipeline, not per
layer per token.
Fields§
§mixes: Vec<f32>§pre: Vec<f32>§post: Vec<f32>§comb: Vec<f32>§folded: Vec<f32>§block_out: Vec<f32>§residual: Vec<f32>Implementations§
Auto Trait Implementations§
impl Freeze for HcScratch
impl RefUnwindSafe for HcScratch
impl Send for HcScratch
impl Sync for HcScratch
impl Unpin for HcScratch
impl UnsafeUnpin for HcScratch
impl UnwindSafe for HcScratch
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