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


TensorFlow 2 version View source on GitHub

Indicates how a set of values should be reduced.

  • SUM: Add all the values.
  • MEAN: Take the arithmetic mean ("average") of the values.

Class Variables

  • MEAN
  • SUM