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

Updated the documentation saying that I raise an error if you provide an

incorrect 'n_steps' to scan.
上级 909e5a81
......@@ -236,8 +236,7 @@ def scan( fn
:param n_steps:
``n_steps`` is the number of steps to iterate given as an int
or Theano scalar. If any of the input sequences do not have
enough elements, scan will produce a warning and run only for
the maximal amount of steps it can. If the *value is 0* the
enough elements, scan will raise an error. If the *value is 0* the
outputs will have *0 rows*. If the value is negative, ``scan``
run backwards in time. If the ``go_backwards`` flag is already
set and also ``n_steps`` is negative, ``scan`` will run forward
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论