Negates a tensor element-wise.
Arguments
- operand
(
tensorish)
Tensorish value of data type integer or floating-point.
Value
tensorish
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 -