tf.keras.ops.repeat

Repeat each element of a tensor after themselves.

x Input tensor.
repeats The number of repetitions for each element.
axis The axis along which to repeat values. By default, use the flattened input array, and return a flat output array.

Output tensor.