[XLA] Fix handling of CustomCall's window and dnums.
authorJustin Lebar <jlebar@google.com>
Fri, 1 Jun 2018 00:19:25 +0000 (17:19 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 1 Jun 2018 00:25:30 +0000 (17:25 -0700)
commitc3b62c38ebd73c98ffa5613865f4c01fa5ff6ae7
tree9b46cb1ea8dab31384b99f5b4ea523c9fc4259b6
parent30faaee8154575f834050590ebe0bf6ff3f9c176
[XLA] Fix handling of CustomCall's window and dnums.

CustomCall can have a window and convolution-dimension-numbers, so
HloInstruction needs to handle this in Clone() and Identical().

PiperOrigin-RevId: 198805211
tensorflow/compiler/xla/service/BUILD
tensorflow/compiler/xla/service/hlo_instruction.cc
tensorflow/compiler/xla/service/hlo_instruction_test.cc