pub fn from_int_clamp(
spec: &IntClampSpec,
names: &StageNames,
shape: (usize, usize),
target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>Expand description
y = min(max(x, LO), HI) — saturation into [LO, HI].
pub fn from_int_clamp(
spec: &IntClampSpec,
names: &StageNames,
shape: (usize, usize),
target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>y = min(max(x, LO), HI) — saturation into [LO, HI].