提交 e6173948 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

Fixed bug in documentation. If you create a dictionary you need to provide

the key ( in this case the right key .. for scan to figure things out).
上级 01f73fcc
......@@ -104,11 +104,11 @@ def scan( fn
.. code-block:: python
scan(fn, sequences = [ dict( Sequence1, taps = [-3,2,-1])
scan(fn, sequences = [ dict(input= Sequence1, taps = [-3,2,-1])
, Sequence2
, dict( Sequence3, taps = 3) ]
, outputs_info = [ dict( Output1, taps = [-3,-5])
, dict( Output2, taps = None)
, dict(input = Sequence3, taps = 3) ]
, outputs_info = [ dict(initial = Output1, taps = [-3,-5])
, dict(initial = Output2, taps = None)
, Output3 ]
, non_sequences = [ Argument1, Argument 2])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论