np_randint
Generate random integers between low (inclusive) and high (exclusive), with optional output shape.
Instructions
Return random integers from low (inclusive) to high (exclusive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | Yes | Lowest integers to be drawn (inclusive). If high is None, this is the upper bound. | |
| high | No | Upper bound (exclusive). If None, low=0 and this becomes high. | |
| size | No | Output shape (int or tuple of ints). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |