tf.distribute.ReduceOp

Indicates how a set of values should be reduced.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.distribute.ReduceOp

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

MEAN <ReduceOp.MEAN: 'MEAN'>
SUM <ReduceOp.SUM: 'SUM'>