Enable the removal of redundant reshapes on fed models. Previously this was only...
authorBenoit Steiner <bsteiner@google.com>
Tue, 16 Jan 2018 19:57:12 +0000 (11:57 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 16 Jan 2018 20:01:06 +0000 (12:01 -0800)
commit2311873457d0cc90c0fc5fbaecaedb0e607a5c6c
treee2a9990fa3a61229ff2b65f5d4c3d31fcfd16c31
parentb15e04609c197259bf82769d49c882aaef07965f
Enable the removal of redundant reshapes on fed models. Previously this was only turned on by default for models without feed nodes.

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