Missed TensorFlow World? Check out the recap. Learn more


TensorFlow 2.0 version View source on GitHub

Class ReduceOp

Indicates how a set of values should be reduced.


  • Class tf.compat.v1.distribute.ReduceOp
  • Class tf.compat.v2.distribute.ReduceOp
  • SUM: Add all the values.
  • MEAN: Take the arithmetic mean ("average") of the values.

Class Members

  • MEAN
  • SUM