- chainerx.mean(a, axis=None, keepdims=False)¶
Compute the arithmetic mean along the specified axis.
Returns the average of the array elements. The average is taken over the flattened array by default, otherwise over the specified axis.
a (ndarray) – Array to take the mean of.
axis (None or int or tuple of ints) – Along which axis or axes to compute
default. (the mean. The flattened array is used by) –
keepdims (bool) – If this is set to True, the axes which are reduced are
option (left in the result as dimensions with size one. With this) –
:param : :param the result will broadcast correctly against the input array.:
The mean of
a, along the axis or axes if specified.
- Return type