np_repeat
Repeat elements of an array a specified number of times, optionally along a given axis.
Instructions
Repeat elements of an array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. | |
| repeats | Yes | The number of repetitions for each element. | |
| axis | No | The axis along which to repeat values (default: flattens). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |