MatchingBackend.mean#

abstract MatchingBackend.mean(arr, axis=None)[source]#

Compute the mean of array elements.

Parameters:
arrBackendArray

Input data.

axisint or tuple of ints, optional

Axis or axes to perform the operation on. Default is all.

Returns:
Union[BackendArray, Scalar]

Mean of arr.