get the dimensions of numpy array `a`,a.shape