Element-wise sign.
Arguments
- x
(
arrayish)
One input. Can be any signed numeric data type. An R value materializes at its default data type.
Value
(arrayish)
Has the input's shape and data type.
StableHLO
Lowers to hlo_sign(), specified under
sign.