Did not get why tf.Variable is used for? Someone can through some light?
Variables are created and tracked via the tf.Variable
class. A tf.Variable
represents a tensor whose value can be changed by running operations on it. Specific operations allow you to read and modify the values of this tensor. Hence, a TensorFlow variable is the recommended way to represent the different states that your program is currently manipulating.
Thanks Prof Julian. Its clear now.
1 Like