diff options
author | Allen Lavoie <allenl@google.com> | 2018-08-01 11:05:57 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-01 11:16:33 -0700 |
commit | 72023ba74dd6f18a215925c4d1bc86c9f25f6a7a (patch) | |
tree | 29ea5e6b0da86da4544e4bd467db7e4531310322 /tensorflow/stream_executor | |
parent | 24331e4fc0166d2adf3cf3b155844b5c77500a0c (diff) |
Fix custom mapping comparisons in the nest utility
Previously it checked that one object was a mapping before using PyDict methods on the second one being compared. Now checks that both are dicts and falls back to PyMapping methods otherwise.
Also fixes exception propagation for this section of code.
PiperOrigin-RevId: 206957412
Diffstat (limited to 'tensorflow/stream_executor')
0 files changed, 0 insertions, 0 deletions