提交 a7a6e82d authored 作者: Jason Yosinski's avatar Jason Yosinski

Added import to fix tutorial example

上级 e56b23bb
...@@ -99,6 +99,7 @@ The second step is to combine *x* and *y* into their sum *z*: ...@@ -99,6 +99,7 @@ The second step is to combine *x* and *y* into their sum *z*:
*x* and *y*. You can use the :ref:`pp <libdoc_printing>` *x* and *y*. You can use the :ref:`pp <libdoc_printing>`
function to pretty-print out the computation associated to *z*. function to pretty-print out the computation associated to *z*.
>>> from theano import pp
>>> print pp(z) >>> print pp(z)
(x + y) (x + y)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论