Merge consecutive broadcast HLO instructions.
authorDimitris Vardoulakis <dimvar@google.com>
Thu, 22 Mar 2018 21:38:41 +0000 (14:38 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 22 Mar 2018 21:41:16 +0000 (14:41 -0700)
commit1a99109e8832bc94710d2dcfb5d9525688913a50
tree68074eda34060864dae283a782dc4b1441e63122
parent1004396a769ad9fdf350ed28083bca5b6ad00402
Merge consecutive broadcast HLO instructions.

As an optimization, replace consecutive broadcast instructions with a single equivalent broadcast in algebraic simplification.

PiperOrigin-RevId: 190127730
tensorflow/compiler/xla/service/algebraic_simplifier.cc
tensorflow/compiler/xla/service/algebraic_simplifier_test.cc