tf.compat.v1.distribute.get_loss_reduction

tf.distribute.ReduceOp corresponding to the last loss reduction.

tf.distribute.ReduceOp corresponding to the last loss reduction for estimator and v1 optimizer use case. tf.distribute.ReduceOp.SUM otherwise.