Median

Returns the median along a named dimension of all elements present. If the dimension is not named, then the median is over all elements present in the tensor.