diff options
author | 2017-06-29 11:10:56 -0700 | |
---|---|---|
committer | 2017-06-29 11:15:12 -0700 | |
commit | 9b11f458196f6f0528c9974238497a6c8b6da547 (patch) | |
tree | 69a94a9f8ce23944aa6e4c47d00e98644e716e5b /tensorflow/contrib/image | |
parent | c1087b3a0b851b62a027201c0c41c0bd4e44e303 (diff) |
[tf.contrib.data] Fix the handling of dict-typed elements in functions.
Previously, we were treating a `dict` as a sequence, which led to
incorrect behavior like passing all of the dict's keys rather than
values as the arguments to a map or filter function. This change
changes the behavior so that the dict is passed as a single argument
to these functions. It additionally fixes the ported version of
`nest.flatten_up_to()` so that `Dataset.padded_batch()` works with
dict-typed elements.
Fixes #11016.
PiperOrigin-RevId: 160548475
Diffstat (limited to 'tensorflow/contrib/image')
0 files changed, 0 insertions, 0 deletions