Skip to content

Commit 6e2eac3

Browse files
authored
clarification on how to use in-graph
1 parent bd1a74a commit 6e2eac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/core/guide/autograph.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"source": [
173173
"We'll enable [eager execution](https://www.tensorflow.org/guide/eager) for demonstration purposes, but AutoGraph works in both eager and [graph execution](https://www.tensorflow.org/guide/graphs) environments:",
174174
"",
175-
"Important: The converted code will _work_ in eager mode. But it runs as an eager-python function. To run the resulting code in a graph use `tf.contrib.eager.defun`."
175+
"Important: The converted code will _work_ directly in eager mode. But it runs as an eager-python function. To run in-graph use explicit graphs, as in this doc, or use `tf.contrib.eager.defun`."
176176
]
177177
},
178178
{

0 commit comments

Comments
 (0)