When I use np.sum, I encountered a parameter called keepdims. After looking up the docs, I still cannot understand the meaning of keepdims
np.sum
keepdims
keepdims = True, is used for matching dimensions of matrix. If we left this False then it will show error of dimension error. You can see it while calculating softmax entropy