tf.distribute.ReduceOp
corresponding to the last loss reduction.
View aliases
Main aliases
`tf.contrib.distribute.get_loss_reduction`
Compat aliases for migrationSee Migration guide for more details.
tf.distribute.get_loss_reduction()
This is used to decide whether loss should be scaled in optimizer (used only for estimator + v1 optimizer use case).
Returns | |
---|---|
tf.distribute.ReduceOp corresponding to the last loss reduction for
estimator and v1 optimizer use case. tf.distribute.ReduceOp.SUM otherwise.
|