Save the date! Google I/O returns May 18-20 Register now

tf.distribute.ReduceOp

Indicates how a set of values should be reduced.

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

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