Mean

Returns the mean (or average) along a named dimension of all elements present. If the dimension is not named, then the mean is over all elements present in the tensor. Note that missing elements are not counted.