Commit 81b91ab1 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by Gunhan Gulsoy
Browse files

* Fix bug introduced in cl/181043095: We need to update the nodemap when...

* Fix bug introduced in cl/181043095: We need to update the nodemap when adding control dependencies.
* Fix a bug in ConstantFolding::AddControlDependency: Don't create the same Identity node after Switch multiple times. Just re-use if it already exists.
* Make sure that nodes added in rewrites have unique names.
* A few minor cleanups.

PiperOrigin-RevId: 181798973
parent 4d69d036
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment