jax.lax.mul
Contents
jax.lax.mul#
- jax.lax.mul(x,y)[source]#
Elementwise multiplication:\(x \times y\).
This function lowers directly to thestablehlo.multiply operation.
- Parameters:
x (ArrayLike) – Input arrays. Must have matching numerical dtypes. If neitheris a scalar,
xandymust have the same number of dimensionsand be broadcast compatible.y (ArrayLike) – Input arrays. Must have matching numerical dtypes. If neitheris a scalar,
xandymust have the same number of dimensionsand be broadcast compatible.
- Returns:
An array of the same dtype as
xandycontaining the productof each pair of broadcasted entries.- Return type:
See also
jax.numpy.multiply(): NumPy-style multiplication supportinginputs with mixed dtypes and ranks.
Contents
