Skip to main content

Tower4Batch

Type Alias Tower4Batch 

Source
pub type Tower4Batch<const K: usize> = Tower4Lane<f64x4, K>;
Expand description

The 4-rows-per-pass batched Tower4 (wide::f64x4 lanes).

Aliased Type§

pub struct Tower4Batch<const K: usize> {
    pub v: f64x4,
    pub g: [f64x4; K],
    pub h: [[f64x4; K]; K],
    pub t3: [[[f64x4; K]; K]; K],
    pub t4: [[[[f64x4; K]; K]; K]; K],
}

Fields§

§v: f64x4

Value channel (one entry per lane/row).

§g: [f64x4; K]

Gradient ∂/∂p_a.

§h: [[f64x4; K]; K]

Hessian ∂²/∂p_a∂p_b.

§t3: [[[f64x4; K]; K]; K]

Third tensor ∂³.

§t4: [[[[f64x4; K]; K]; K]; K]

Fourth tensor ∂⁴.