list X[1, 100, 5]
, list Y[1, 100]
is in python
, tensorflow
I want to shuffle, X's 100
and Y's 100
to same random.
X = random.shuffle(X[0])
Y=random.shuffle(Y[0])
together = zip(X[0], Y[0])
together_shuffle = random.shuffle(together)
together_shuffle= zip(*together_shuffle)
X[0] = together_shuffle[0]
Y[0] = together_shuffle[1]
Is this right?
How can i do?