Skip to main content

online_softmax_rescale

Function online_softmax_rescale 

pub fn online_softmax_rescale(m_old: f32, m_new: f32) -> (f32, f32)
Expand description

Numerical online-softmax rescale calculation with guarded all-masked row handling.