Warning
This page was created from a pull request.
jax.lax.dot¶
-
jax.lax.dot(lhs, rhs, precision=None)[source]¶ Vector/vector, matrix/vector, and matrix/matrix multiplication.
Wraps XLA’s Dot operator.
For more general contraction, see the dot_general operator.
- Parameters
lhs (
Any) – an array of rank 1 or 2.rhs (
Any) – an array of rank 1 or 2.precision (
Union[None,Any,Tuple[Any,Any]]) – Optional. EitherNone, which means the default precision for the backend, alax.Precisionenum value (Precision.DEFAULT,Precision.HIGHorPrecision.HIGHEST) or a tuple of twolax.Precisionenums indicating precision oflhs`andrhs.
- Return type
- Returns
An array containing the product.