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.
pub fn from_relu(
spec: &ReluSpec,
names: &StageNames,
shape: (usize, usize),
target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>y = max(x, 0), in the tensor’s element kind.