pub struct Hy3Layer0Stages {
pub attention_output: CudaSlice<f32>,
pub after_attention: CudaSlice<f32>,
pub mlp_output: CudaSlice<f32>,
pub residual: CudaSlice<f32>,
}Expand description
Diagnostic-only snapshots of Hy3 layer 0 in the eager T=1 serving path. Each buffer is one residual-width device row captured before the next stage can reuse it.
Fields§
§attention_output: CudaSlice<f32>§after_attention: CudaSlice<f32>§mlp_output: CudaSlice<f32>§residual: CudaSlice<f32>Auto Trait Implementations§
impl Freeze for Hy3Layer0Stages
impl RefUnwindSafe for Hy3Layer0Stages
impl Send for Hy3Layer0Stages
impl Sync for Hy3Layer0Stages
impl Unpin for Hy3Layer0Stages
impl UnsafeUnpin for Hy3Layer0Stages
impl UnwindSafe for Hy3Layer0Stages
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