Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.update_sub

tf.keras.backend.update_sub(
    x,
    decrement
)

Defined in tensorflow/python/keras/backend.py.

Update the value of x by subtracting decrement.

Arguments:

  • x: A Variable.
  • decrement: A tensor of same shape as x.

Returns:

The variable x updated.