The exponential moving average formula aligns with the one used in TensorBoard.
Refer to this explanation on Stack Overflow for details on the equivalent Python implementation. View the source code for TensorBoard’s smoothing algorithm on GitHub.
TensorBoard
What formula do you use for your smoothing algorithm?
Last modified on September 3, 2026