".github/git@developer.sourcefind.cn:change/sglang.git" did not exist on "a9fd80336dd93ed671e4eb42242938f4d990a1bf"
Unverified Commit cf8bd4da authored by Mark Daoust's avatar Mark Daoust Committed by GitHub
Browse files

Add note about eager-defun compat.

parent ff482a06
...@@ -170,7 +170,9 @@ ...@@ -170,7 +170,9 @@
}, },
"cell_type": "markdown", "cell_type": "markdown",
"source": [ "source": [
"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:" "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:",
"",
"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 wrap in `tf.contrib.eager.defun`."
] ]
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment