tf.keras.ops.tile

Repeat x the number of times given by 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.

x Input tensor.
repeats The number of repetitions of x along each axis.

The tiled output tensor.