Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.backend.moving_average_update

TensorFlow 1 version View source on GitHub

Compute the moving average of a variable.

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

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.