jax.numpy.add

Contents

jax.numpy.add#

jax.numpy.add(x, y, /)[source]#

Add arguments element-wise.

LAX-backend implementation of numpy.add().

Original docstring below.

Returns:

add – The sum of x1 and x2, element-wise. This is a scalar if both x1 and x2 are scalars.

Return type:

ndarray or scalar

Parameters:
  • x (jax.typing.ArrayLike)

  • y (jax.typing.ArrayLike)