Enable arithmetic optimizations for Fill nodes that are all zeros or ones.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 13 Mar 2018 17:39:33 +0000 (10:39 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Mar 2018 17:43:41 +0000 (10:43 -0700)
commitea9e65c94ad71ca86d2be91c4109c62269b42cf8
tree426f2930ba290c9360c083f0fe64121715b1264c
parent29c129c69d3aa602d0fa083f7477144466f562d1
Enable arithmetic optimizations for Fill nodes that are all zeros or ones.

PiperOrigin-RevId: 188893722
tensorflow/core/grappler/optimizers/constant_folding.cc
tensorflow/core/grappler/optimizers/constant_folding_test.cc