I have a numpy array padded_train_x of shape (2500,500).
The problem is,
when I try to get the shape of an element of this array like
padded_train_x[0].shape it outputs (500,) but when I run it as padded_train_x[0:1] it outputs (1,500). Why does this happen?
I'm trying to make prediction in an LSTM model using keras but I have to use padded_train_x[0:1] as the input instead of simply padded_train_x[0]