jax_negative

probly.representation.jax_functions.jax_negative(x: JaxArrayLike, /) jax.Array[source]
probly.representation.jax_functions.jax_negative(x: JaxOperand, /) object

Negate an operand elementwise, mirroring jax.numpy.negative.

Parameters:

x – Operand to negate.

Returns:

The elementwise negation, or the result supplied by a custom override.