Assigns a new value to a variable.
tf.raw_ops.AssignVariableOp(
resource, value, validate_shape=False, name=None
)
Any ReadVariableOp with a control dependency on this op is guaranteed to return this value or a subsequent newer value of the variable.
Returns | |
---|---|
The created Operation. |