tf.keras.backend.moving_average_update
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. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras/backend/moving_average_update