MatchingBackend.sum# abstract MatchingBackend.sum(arr, axis=None)[source]# Compute the sum of array elements. Parameters: arrBackendArrayInput data. axisint or tuple of ints, optionalAxis or axes to perform the operation on. Default is all. Returns: Union[BackendArray, Scalar]Sum of arr.