Reputation: 324
In tensorflow, I saw several types of nodes. However I am not sure about distinguish between Variable and VariableV2. I am very thankful if give some specific difference between two types.
Upvotes: 2
Views: 828
Reputation: 53758
According to the source code, tf.variable_op
(which corresponds to Variable
type) is deprecated:
Deprecated. Used
variable_op_v2
instead.
So one is the new version of the other. Right now, both are supported, but in the future versions Variable
is likely to be dropped.
Upvotes: 2