提交 87c2a30e authored 作者: Razvan Pascanu's avatar Razvan Pascanu

removed bug in the code

sequences are not a list of dictionary anymore, but a list of tensors, the original tensors.
上级 c5cb160a
......@@ -215,13 +215,10 @@ def scan(fn,
scan_seqs.append(_seq_val)
inner_seqs.append(nw_slice)
inner_slices.append(actual_slice)
n_seqs += 1
actual_n_steps = tensor.as_tensor(n_steps)
# Add names -- it helps a lot when debugging
for (nw_seq, seq) in zip(scan_seqs, seqs):
if getattr(seq['input'], 'name', None) is not None:
nw_seq.name = seq['input'].name
# Conventions :
# mit_mot = multiple input taps, multiple output taps ( only provided
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论