Median of a multi-dimensional array

What does the median of a multi-dimensional array means if we don’t provide any axis to it?
d = np.array([[12,1,14],[1,2,3],[10,20,30]])
print(np.median(d))

hi @RahulNM19
here it is considering the median of 12,1,14,1,2,3,10,20,30
it comes out to be
93/9 = 10.333333333333334
closest value 10.