Avoid string formatting in assert_same_float_dtype unless there's an error
authorAllen Lavoie <allenl@google.com>
Tue, 8 May 2018 21:00:30 +0000 (14:00 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 8 May 2018 22:47:32 +0000 (15:47 -0700)
commit62c50e197e25c661048fe90fdd177a87eda47376
tree017dfc4e2c85b6b9f4bf069c2a68a872ad97f935
parent8fcf64732bb43d6df5df99171346e9de6c15e7ed
Avoid string formatting in assert_same_float_dtype unless there's an error

Especially helpful when executing eagerly

PiperOrigin-RevId: 195871887
tensorflow/python/ops/check_ops.py