tf.keras.backend.repeat(
x,
n
)
Defined in tensorflow/python/keras/backend.py.
Repeats a 2D tensor.
if x has shape (samples, dim) and n is 2,
the output will have shape (samples, 2, dim).
Arguments:
x: Tensor or variable.n: Python integer, number of times to repeat.
Returns:
A tensor.