Skip to main content

recognize_relu

Function recognize_relu 

Source
pub fn recognize_relu(
    stmts: &[Stmt<'_>],
    interner: &Interner,
) -> Option<ReluSpec>
Expand description

Recognize Let Y be relu of X — Push max(X[p], 0) in one counted loop, over Int or Real.