Skip to content

Commit 27e9b38

Browse files
raingoVijay Vasudevan
authored andcommitted
Update README.md for graph transform (tensorflow#8765)
* Update README.md * Update README.md keep the remove identity, but make a note about control flows * Update README.md clean up
1 parent 1e684ab commit 27e9b38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tensorflow/tools/graph_transforms/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ transforms to modify the graph with. The transforms are given as a list of
9494
names, and can each have arguments themselves. These transforms define the
9595
pipeline of modifications that are applied in order to produce the output.
9696
Sometimes you need some transforms to happen before others, and the ordering
97-
within the list lets you specify which happen first.
97+
within the list lets you specify which happen first.
98+
Note that the optimization
99+
`remove_nodes(op=Identity, op=CheckNumerics)` will break the model with control
100+
flow operations, such as `tf.cond`, `tf.map_fn`, and `tf.while`.
98101

99102
## Inspecting Graphs
100103

0 commit comments

Comments
 (0)