Move RemodeRedundantReshape optimization to a separate stage.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 31 May 2018 21:01:45 +0000 (14:01 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 31 May 2018 21:03:45 +0000 (14:03 -0700)
commit395428bcaf02c9a9e8067083993d7e6b5afdc0a6
tree028e3a7c9922edab67e89cddeaec37f90ac1bec7
parentd3b5b07e7810782c3760468312f9cace10b89073
Move RemodeRedundantReshape optimization to a separate stage.

PiperOrigin-RevId: 198775276
tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc
tensorflow/core/grappler/optimizers/arithmetic_optimizer.h
tensorflow/core/grappler/optimizers/arithmetic_optimizer_test.cc