Enable optimizations submitted during pre-NIPS freeze:
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 17 May 2018 23:52:31 +0000 (16:52 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 18 May 2018 00:01:17 +0000 (17:01 -0700)
commite73efbcf242222df682e4e7388f120ca6401b89f
treea793c50395b9a5da2f911ff754c6c123fe576b2f
parenta3b86f9c2dfbe2cff6a3b6362f9e0f131246eb0b
Enable optimizations submitted during pre-NIPS freeze:
  * Snapshot to Identity promotion.
  * Removal of transposes pairs separated by chain.

PiperOrigin-RevId: 197073602
tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc
tensorflow/core/grappler/optimizers/arithmetic_optimizer_test.cc
tensorflow/core/grappler/optimizers/constant_folding.cc
tensorflow/core/grappler/optimizers/constant_folding_test.cc