Negates an array element-wise.
Arguments
- operand
(
arrayish)
Arrayish value of data type integer or floating-point.
Value
arrayish
Has the same shape and data type as the input.
It is ambiguous if the input is ambiguous.
StableHLO
Lowers to stablehlo::hlo_negate().
See also
nv_negate(), unary -