<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#L8120-L8143) |

Repeat `x` the number of times given by `repeats`.

#### View aliases


**Main aliases**

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

<br />

    tf.keras.ops.tile(
        x, repeats
    )

If `repeats` has length `d`, the result will have dimension of
`max(d, x.ndim)`.

If `x.ndim < d`, `x` is promoted to be d-dimensional by prepending
new axes.

If `x.ndim > d`, `repeats` is promoted to `x.ndim` by prepending 1's to it.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor. |
| `repeats` | The number of repetitions of `x` along each axis. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The tiled output tensor. ||

<br />