提交 008ce348 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

wrong argument name

上级 aaf14063
......@@ -32,7 +32,7 @@ The equivalent Theano code would be
# Symbolic description of the result
result,updates = theano.scan(fn = lambda x_tm1,A: x_tm1*A,\
info_outputs = T.ones_like(A),\
outputs_info = T.ones_like(A),\
non_sequences = A, \
n_steps = k)
......@@ -112,7 +112,7 @@ the Theano variables needed we construct our RNN as follows :
([x_vals, y_vals],updates) = theano.scan(fn = oneStep, \
sequences = dict(input = u, taps= [-4,-0]), \
info_outputs = [dict(initial = x0, taps = [-3,-1]),y0], \
outputs_info = [dict(initial = x0, taps = [-3,-1]),y0], \
non_sequences = [W,W_in_1,W_in_2,W_feedback, W_out])
# for second input y, scan adds -1 in output_taps by default
......@@ -155,7 +155,7 @@ the following:
sample = theano.tensor.vector()
values, updates = theano.scan( OneStep, info_outputs = sample, n_steps = 10 )
values, updates = theano.scan( OneStep, outputs_info = sample, n_steps = 10 )
gibbs10 = theano.function([sample], values[-1], updates = updates)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论