What is the difference between tf.variable and tf.placeholder?
Answer Posted / Mayank Singh Sagar
Tf.Variable represents a trainable variable in TensorFlow, which can be learned during the training process using gradient descent or other optimization algorithms. On the other hand, tf.Placeholder is used to hold a node in the computation graph that will later be fed with actual data by the user during the execution of the graph.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers