View source on GitHub |
Repeat each element of a tensor after themselves.
tf.keras.ops.repeat(
x, repeats, axis=None
)
Args | |
---|---|
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. |
Returns | |
---|---|
Output tensor. |