Hi,
does anyone understand, why I cant flatten the train-/test-matrix using:
test_set_x_flatten = test_set_x_orig.reshape(test_set_x_orig.shape[1] * test_set_x_orig.shape[2] * test_set_x_orig.shape[3], test_set_x_orig.shape[0])
When I try this, the output does not pass the assertions that check the order of the pixel values. It seems to work only with
test_set_x_flatten = test_set_x_orig.reshape(test_set_x_orig.shape[0], -1).T
In principle however, the two operations should be equivalent - right?
Thanks a lot