tf.distribute.ReduceOp

Class ReduceOp

Defined in tensorflow/python/distribute/reduce_util.py.

Indicates how a set of values should be reduced.

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

TODO(priyag): Add the following types: * MIN: Return the minimum of all values. * MAX: Return the maximum of all values.

Class Members

MEAN

SUM

__members__