b
Dimension of a across which to compute the median. b can be in a range of 1 to the maximum supported array dimension (32). If you do not specify b, the function works with the first dimension whose size is not equal to 1. If the input data type is boolean, the number of elements along the corresponding dimension cannot be an even number.