diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-08-02 03:42:31 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-02 03:46:25 -0700 |
commit | 03061e4cbfc8128e632536eee0af1ebad922b5ba (patch) | |
tree | e2724b70c176d724adbb860f6de51b73c1cf30d5 /tensorflow/python/BUILD | |
parent | 1c8a34641982294a72053304f0ece2efcbc866dd (diff) |
Use device and colocation stack metadata to improve an error message in ops.py. This change does not depend on the new config.experimental.client_handles_error_formatting flag. I also attempted to modify relevant interpolated error strings so an uninterpolated error message still read correclty if you removed the interpolation tokens.
PiperOrigin-RevId: 207075862
Diffstat (limited to 'tensorflow/python/BUILD')
-rw-r--r-- | tensorflow/python/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD index 2ccaae4dcf..2b8110a999 100644 --- a/tensorflow/python/BUILD +++ b/tensorflow/python/BUILD @@ -836,6 +836,7 @@ py_library( ":control_flow_util", ":device", ":dtypes", + ":error_interpolation", ":op_def_registry", ":platform", ":registry", |