get the dimensions of numpy array `a`,N.shape(a)