ref by adding
value to it.
Compat aliases for migration
See Migration guide for more details.
tf.assign_add( ref, value, use_locking=None, name=None )
This operation outputs "ref" after the update is done. This makes it easier to chain operations that need to use the reset value. Unlike
tf.math.add, this op does not broadcast.
value must have the same shape.
| || A mutable |
| || A |
| || An optional |
| ||A name for the operation (optional).|
|Same as "ref". Returned as a convenience for operations that want to use the new value after the variable has been updated.|
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.