SumΒΆ
Sum of the elements of the array over a given axis.
Abstract Signature:
Sum(a: Tensor, axis: int | tuple[int, ...] | None, dtype: DType | None, keepdims: bool = False, initial, where: Tensor | None, promote_integers: bool = True)
Sum of the elements of the array over a given axis.
Abstract Signature:
Sum(a: Tensor, axis: int | tuple[int, ...] | None, dtype: DType | None, keepdims: bool = False, initial, where: Tensor | None, promote_integers: bool = True)