np_sum
Calculate the sum of array elements along given axes, or total sum for all elements.
Instructions
Sum of array elements over given axis(es).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. | |
| axis | No | Axis along which to sum (default: None, sums all). | |
| dtype | No | The type of the returned array (default: "float64"). | float64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |