Skip to main content

ste_binary

Function ste_binary 

Source
pub fn ste_binary(x: &Tensor) -> Result<Tensor>
Expand description

Apply STEBinary (sign forward with zero mapped to +1, clipped identity backward for |x| < 1).

ยงErrors

Returns an error if the tensor dtype is unsupported or an internal Candle op fails.