I have following two tensorflow placeholders:
Tensor("Placeholder:0", shape=(32, 2048), dtype=float32)
Tensor("Placeholder:1", shape=(64, 2048), dtype=float32)
Let's call them a
and b
. I want to stack
them and then shuffle
randomly. Afterwards, I want to pass them through network. Finally, I want to get the back the a
and b
before stack
and shuffle
What I have done so far
I understand stacking and random shuffle. Therefore, guide me how I can stack them, shuffle them, and finally get back the original indexes.