[XLA] Convert large constants of the same value into broadcasts.
authorBlake Hechtman <blakehechtman@google.com>
Thu, 22 Feb 2018 00:39:43 +0000 (16:39 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 22 Feb 2018 00:43:57 +0000 (16:43 -0800)
commit483174ca1af74669ba0abc1bbace93952ccc25c5
treea1913c4e84ae56b4139425fb0292763647ab4657
parent37bc5a7eda00a2f87c538381a4e28b3a93095ab1
[XLA] Convert large constants of the same value into broadcasts.

PiperOrigin-RevId: 186539902
tensorflow/compiler/xla/literal_util.cc
tensorflow/compiler/xla/literal_util.h
tensorflow/compiler/xla/literal_util_test.cc
tensorflow/compiler/xla/service/algebraic_simplifier.cc
tensorflow/compiler/xla/service/algebraic_simplifier_test.cc