Correctly connect control dependencies to switch nodes when doing arithmetic
authorBenoit Steiner <bsteiner@google.com>
Sat, 6 Jan 2018 17:51:38 +0000 (09:51 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 6 Jan 2018 17:59:41 +0000 (09:59 -0800)
commit673827730a3ae6a86f9cad86d19ec9e7d4597f3a
tree211e80527f65abc0efc1085fde8af4420f58c2aa
parent4080654c8f03ec34f2822c14db5fd8b75f63d569
Correctly connect control dependencies to switch nodes when doing arithmetic
simplifications

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