TensorFlow 2.0 Beta is available Learn more

tf.distribute.ReduceOp

Class ReduceOp

Indicates how a set of values should be reduced.

Aliases:

  • Class tf.compat.v1.distribute.ReduceOp
  • Class tf.compat.v2.distribute.ReduceOp
  • Class tf.distribute.ReduceOp

Defined in python/distribute/reduce_util.py.

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

Class Members

  • MEAN
  • SUM