提交 55b1c377 authored 作者: Laurent Dinh's avatar Laurent Dinh

Correction of the tutorial code.

上级 d0cbf05e
...@@ -1235,7 +1235,7 @@ class T_scan(unittest.TestCase): ...@@ -1235,7 +1235,7 @@ class T_scan(unittest.TestCase):
t_f, theano.config.floatX), \ t_f, theano.config.floatX), \
sequences=[T.arange(X.shape[0]), \ sequences=[T.arange(X.shape[0]), \
T.arange(X.shape[1])], \ T.arange(X.shape[1])], \
outputs_info=numpy.zeros_like(0., \ outputs_info=numpy.asarray(0., \
dtype=theano.config.floatX)) dtype=theano.config.floatX))
result = results[-1] result = results[-1]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论