Remove unnecessary stack operations from graphs. This change implements the first...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 28 Feb 2018 22:55:50 +0000 (14:55 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 28 Feb 2018 23:00:16 +0000 (15:00 -0800)
commit8687aa6f7da68e378d5465914109498f23e300a0
tree426f7e6779c323630aeb61d0397162e4f7ae372c
parent91d49c7d98114da4e4647c62d9f9b69119296b69
Remove unnecessary stack operations from graphs. This change implements the first such optimization that removes stack pushes without corresponding pops.

PiperOrigin-RevId: 187387794
tensorflow/core/grappler/op_types.cc
tensorflow/core/grappler/op_types.h
tensorflow/core/grappler/optimizers/loop_optimizer.cc
tensorflow/core/grappler/optimizers/loop_optimizer_test.cc
tensorflow/core/grappler/optimizers/meta_optimizer.cc
tensorflow/core/grappler/utils.cc
tensorflow/core/grappler/utils.h