Why does my model work if I reshaped my training set with reshape(train_set_x_orig.shape[0], -1).T
but it doesn’t when i do it with reshape(-1, train_set_x_orig.shape[0])
?
Shouldn’t these two lines be exactly the same? we are essentially just transposing the matrix.