partial_ReLU

Function partial_ReLU 

Source
pub fn partial_ReLU(dim: usize, row: usize) -> AffTree<2>
Expand description

Creates an AffTree instance that corresponds to the ReLU function applied to the specified row.

Formally, it is defined as (partial_ReLU(x))_row = max {0, x_row}