Skip to main content

from_relu

Function from_relu 

Source
pub fn from_relu(
    spec: &ReluSpec,
    names: &StageNames,
    shape: (usize, usize),
    target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>
Expand description

y = max(x, 0), in the tensor’s element kind.