'In Tensorflow 1.8.0, How to combine two placeholder into tuples in Tensorflow
I have two placeholder both with 10 values in it. Now I want to convert it to tuple.
In python, I know how to do it, for example:
a = [1, 2, 3]
b = [4, 5, 6]
c = list(zip(a, b)
Then c=[(1, 4), (2, 5), (3, 6)]
So, I have a and b in placeholder, and how can I get c?
Can't use eager execution and placeholder at the same time.
But the way, my Tensorflow version is 1.8.0
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
