Sums tensor elements along the specified dimensions.
Value
tensorish
Has the same data type as the input.
When drop = TRUE, the reduced dimensions are removed.
When drop = FALSE, the reduced dimensions are set to 1.
See also
nvl_reduce_sum() for the underlying primitive.