aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/python/ops/math_ops.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tensorflow/python/ops/math_ops.py b/tensorflow/python/ops/math_ops.py
index f6f2044412..0f7727ae68 100644
--- a/tensorflow/python/ops/math_ops.py
+++ b/tensorflow/python/ops/math_ops.py
@@ -1736,7 +1736,10 @@ def matmul(a,
the product of the corresponding matrices in `a` and `b, e.g. if all
transpose or adjoint attributes are `False`:
- output[..., :, :] = a[..., :, :] * b[..., :, :] ,
+ `output`[..., i, j] = sum_k (`a`[..., i, k] * `b`[..., k, j]),
+ for all indices i, j.
+
+ Note: This is matrix product, not element-wise product.
Raises: