Indexing a Numpy Array (4 dimensions)
I solved it by using np.squeeze(x) to remove the singleton dimensions.
I have a numpy array which is (1, 2048, 1, 1). I need to assign the first two dimensions to another numpy array which is (1, 2048), but I am confused on how to index it correctly. Hope you can help!