cupy.repeat#
- cupy.repeat(a, repeats, axis=None)[source]#
Repeat arrays along an axis.
- Parameters:
a (cupy.ndarray) – Array to transform.
repeats (int, list, tuple, or cupy.ndarray) – The number of repeats.
axis (int) – The axis to repeat.
- Returns:
Transformed array with repeats.
- Return type:
See also