tf.keras.backend.moving_average_update

tf.keras.backend.moving_average_update(
    x,
    value,
    momentum
)

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

Compute the moving average of a variable.

Arguments:

  • x: A Variable.
  • value: A tensor with the same shape as variable.
  • momentum: The moving average momentum.

Returns:

An Operation to update the variable.