提交 98a611f4 authored 作者: Frederic Bastien's avatar Frederic Bastien

Removed some possible name confusion in exercises.

上级 9aa36d35
...@@ -73,9 +73,9 @@ Exercise 1 ...@@ -73,9 +73,9 @@ Exercise 1
.. code-block:: python .. code-block:: python
import theano import theano
a = theano.tensor.vector("a") # declare variable a = theano.tensor.vector() # declare variable
b = a + a**10 # build symbolic expression out = a + a**10 # build symbolic expression
f = theano.function([a], b) # compile function f = theano.function([a], out) # compile function
print f([0,1,2]) print f([0,1,2])
# prints `array([0,2,1026])` # prints `array([0,2,1026])`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论