|View source on GitHub|
ref by subtracting
value from it.
Compat aliases for migration
See Migration guide for more details.
tf.assign_sub( 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.
tf.math.subtract, this op does not broadcast.
must have the same shape.
||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.|