TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now


TensorFlow 1 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