提交 7b8d668f authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merge pull request #1149 from aelaguiz/patch-1

Update doc/tutorial/loop.txt
......@@ -35,8 +35,8 @@ The full documentation can be found in the library: :ref:`Scan <lib_scan>`.
k = T.iscalar("k")
A = T.vector("A")
def inner_fct(prior_result, A):
return prior_result * A
def inner_fct(prior_result, B):
return prior_result * B
# Symbolic description of the result
result, updates = theano.scan(fn=inner_fct,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论