Skip to main content

softmax_init_state

Function softmax_init_state 

Source
pub fn softmax_init_state<E: Float>(
    num_rows_per_unit: u32,
) -> (RowWise<E>, RowWise<E>)
Expand description

Initial running state (m, l) for the online softmax over a single tile row.