ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


TensorFlow 2 version View source on GitHub

Compute the moving average of a variable.

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

An Operation to update the variable.