diff --git a/tensorflow/python/ops/math_ops.py b/tensorflow/python/ops/math_ops.py index 8ebffd0bbb6..3e91ec06841 100644 --- a/tensorflow/python/ops/math_ops.py +++ b/tensorflow/python/ops/math_ops.py @@ -2338,8 +2338,8 @@ def tensordot(a, b, axes, name=None): Example 2: When `a` and `b` are matrices (order 2), the case `axes = [[1], [0]]` is equivalent to matrix multiplication. - Example 3: Suppose that \\(a_ijk\\) and \\(b_lmn\\) represent two - tensors of order 3. Then, `contract(a, b, [0], [2])` is the order 4 tensor + Example 3: Suppose that \\(a_{ijk}\\) and \\(b_{lmn}\\) represent two + tensors of order 3. Then, `contract(a, b, [[0], [2]])` is the order 4 tensor \\(c_{jklm}\\) whose entry corresponding to the indices \\((j,k,l,m)\\) is given by: