aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/schema
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-03 13:22:52 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-03 13:27:54 -0700
commit7566f3d5ad690c71c36e78611b1ae5913ec3e845 (patch)
tree04928655aeb640ef86d49c81e04242ade199ae40 /tensorflow/contrib/lite/schema
parent808b1dcb318b1feb5a8c9fed5558f95cd05728e4 (diff)
Fix handling of tuples in CreateCopyWithNewLayout.
If the layout of a single tensor in a tuple is different from its use, then CreateCopyWithNewLayout will do a deep copy of the entire tuple. Not only does this operation create unnecessary copies of elements where the layout is the same, it will throw an error if the tuple contains elements like token[] that cannot be copied. As a result, layout assignment on TPU occassionally causes mysterious compilation failures for code that runs correctly on CPU and GPU. PiperOrigin-RevId: 215615731
Diffstat (limited to 'tensorflow/contrib/lite/schema')
0 files changed, 0 insertions, 0 deletions