<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L8068-L8087) |

Compute the tensor dot product along specified axes.

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.tensordot`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/tensordot)

<br />

    tf.keras.ops.tensordot(
        x1, x2, axes=2
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x1` | First tensor. |
| `x2` | Second tensor. |
| `axes` | <br /> - If an integer, N, sum over the last N axes of `x1` and the first N axes of `x2` in order. The sizes of the corresponding axes must match. - Or, a list of axes to be summed over, first sequence applying to `x1`, second to `x2`. Both sequences must be of the same length. |

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The tensor dot product of the inputs. ||

<br />