diff options
author | 2017-11-22 13:42:21 -0800 | |
---|---|---|
committer | 2017-11-22 13:50:02 -0800 | |
commit | b1d8c59e9b014b527fb2fbef9ce9afc14dbc4938 (patch) | |
tree | af207d5a90f3176bdd3fbffbe1e98258125bf389 /tensorflow/core/graph/graph.h | |
parent | e219aeb542779d90a582ffe16f8602cd1b275b22 (diff) |
Merge changes from github.
PiperOrigin-RevId: 176695926
Diffstat (limited to 'tensorflow/core/graph/graph.h')
-rw-r--r-- | tensorflow/core/graph/graph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/graph/graph.h b/tensorflow/core/graph/graph.h index c5dde722fa..223dd12f8f 100644 --- a/tensorflow/core/graph/graph.h +++ b/tensorflow/core/graph/graph.h @@ -451,6 +451,11 @@ class Graph { // REQUIRES: The edge must exist. void RemoveEdge(const Edge* edge); + // Removes control edge `edge` from the graph. Note that this also updates + // the corresponding NodeDef to reflect the change. + // REQUIRES: The control edge must exist. + void RemoveControlEdge(const Edge* e); + // Updates the input to a node. The existing edge to `dst` is removed and an // edge from `new_src` to `dst` is created. The NodeDef associated with `dst` // is also updated. |