Make V1 metrics distributed-aware. Also fix a bug where assertAllClose
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 17 May 2018 23:26:24 +0000 (16:26 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 17 May 2018 23:29:38 +0000 (16:29 -0700)
commit485571dd92532ed5d6989e419b4ee87342c18cbf
tree66c3e80cd1b38c8724ebb2f71d58c53dbe48de11
parentf36c93505fc4562b90703966ff67cc4edac2c002
Make V1 metrics distributed-aware. Also fix a bug where assertAllClose
was sometimes ignoring its `msg` parameter.

PiperOrigin-RevId: 197070234
tensorflow/contrib/distribute/python/BUILD
tensorflow/contrib/distribute/python/metrics_v1_test.py [new file with mode: 0644]
tensorflow/python/BUILD
tensorflow/python/framework/test_util.py
tensorflow/python/ops/metrics_impl.py