# tf.experimental.numpy.repeat

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/ops/numpy_ops/np_array_ops.py#L692-L720) |

TensorFlow variant of NumPy's `repeat`.

    tf.experimental.numpy.repeat(
        a, repeats, axis=None
    )

See the NumPy documentation for [`numpy.repeat`](https://numpy.org/doc/1.16/reference/generated/numpy.repeat.html).