提交 d1d062e7 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

The extra expressions have nothing to do with the example and just confuse the…

The extra expressions have nothing to do with the example and just confuse the reader. Also I've actually added the compile step which was missing from the example code.
上级 346d321c
......@@ -271,15 +271,12 @@ int f(int x, int y){
stringstyle=\color{violet},
}
\begin{lstlisting}
import theano
from theano import tensor as T
x = T.scalar()
y = T.scalar()
z = x+y
w = z*x
a = T.sqrt(w)
b = T.exp(a)
c = a ** b
d = T.log(c)
f = theano.function([x, y], z)
\end{lstlisting}
\end{frame}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论