[XLA] Support generating tuple shaped fake data in client testing
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 12 Feb 2018 13:34:05 +0000 (05:34 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 12 Feb 2018 13:38:27 +0000 (05:38 -0800)
commita2504ab91afcdeb917a272d2cc54f13dd67c04e7
tree9590cf2910532e004a3ee590efa58656910264b1
parentaea6e3fa75a49f442a649332cc514f7cf31c38d2
[XLA] Support generating tuple shaped fake data in client testing

The previous implementation failed over in case of a tuple shaped input
what broke the replay computation tool for the case where the input is a
tuple.

PiperOrigin-RevId: 185366228
tensorflow/compiler/xla/client/lib/testing.cc