diff options
author | 2018-07-02 11:20:42 -0700 | |
---|---|---|
committer | 2018-07-02 11:23:58 -0700 | |
commit | 7b5f6a4e37c030c6f3aeb58924a76072ac3f784c (patch) | |
tree | 26e440ab5a0b602782d96c5744c54c0bab7e02dc /tensorflow/python/training/distribute.py | |
parent | 63d4f52e227d9dd425fdc5a885d3849d69963ff8 (diff) |
Small fixes in VariableSynchrinization and VariableAggregation change.
PiperOrigin-RevId: 202983273
Diffstat (limited to 'tensorflow/python/training/distribute.py')
-rw-r--r-- | tensorflow/python/training/distribute.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/python/training/distribute.py b/tensorflow/python/training/distribute.py index 562ad3bb02..d33fd7376a 100644 --- a/tensorflow/python/training/distribute.py +++ b/tensorflow/python/training/distribute.py @@ -223,7 +223,6 @@ def has_distribution_strategy(): def get_loss_reduction(): """Reduce `aggregation` corresponding to the last loss reduction.""" loss_reduction = ops.get_default_graph()._last_loss_reduction # pylint: disable=protected-access - print(loss_reduction) if loss_reduction == losses_impl.Reduction.SUM: return variable_scope.VariableAggregation.SUM return variable_scope.VariableAggregation.MEAN |