diff options
author | Igor Saprykin <isaprykin@google.com> | 2017-12-15 16:57:16 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-15 17:04:15 -0800 |
commit | 32d5048ae96116202f2aa0fa739ef37514ee8a54 (patch) | |
tree | 94a12a2ac9855f33feefe7c4ff72d445ef769cde /tensorflow/go/graph.go | |
parent | 40a53f912e1dd6840cd0cb651980bbce7f30e3f1 (diff) |
Average the loss across `replicate_model_fn`'s towers.
This avoids the need for users to add `loss = loss / num_of_towers` code and is in more in line with the current best practices.
I verified this by running cnn_mnist.
This has been rolled-back earlier but fixed (Python bug!) now.
PiperOrigin-RevId: 179257316
Diffstat (limited to 'tensorflow/go/graph.go')
0 files changed, 0 insertions, 0 deletions