Numpy.reshape( )

in the second assignment when we have train_set_x_orig.shape = (209, 64, 64, 3)
what’s the difference between
train_set_x_orig.reshape(-1, train_set_x_orig.shape[0])
and
train_set_x_orig.reshape(train_set_x_orig.shape[0], -1).T
they are the same shape :(12288, 209) but not the same elements please can anyone tell my what’s happening

Just because the shapes end up the same, it does not mean that the results are equivalent. Please see this thread for a detailed explanation.