Question: what is the difference between placeholder and variable in tensorflow?
Answer: A big difference between placeholders and variables is that placeholders can have variable size, but the shape of a tf. Variable must be specified while constructing the graph.