pub struct FusedBlock {
pub sys: Systolic,
pub requant_m: i64,
pub requant_s: u32,
pub bias: Vec<i64>,
}Expand description
A fused transformer-block stage over a weight-stationary GEMM tile (Phase 3): the GEMM, its fixed-point
requantization (acc·M) >> S (arithmetic shift = floor-divide by 2^S), a per-column bias add, and a
ReLU — all fused into ONE spatial pass so the intermediates are streamed, never materialized to memory.
Fields§
§sys: Systolic§requant_m: i64§requant_s: u32§bias: Vec<i64>Per-output-column bias (n entries).
Trait Implementations§
Source§impl Clone for FusedBlock
impl Clone for FusedBlock
Source§fn clone(&self) -> FusedBlock
fn clone(&self) -> FusedBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FusedBlock
impl RefUnwindSafe for FusedBlock
impl Send for FusedBlock
impl Sync for FusedBlock
impl Unpin for FusedBlock
impl UnsafeUnpin for FusedBlock
impl UnwindSafe for FusedBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.