提交 f2421e76 authored 作者: Cesar Laurent's avatar Cesar Laurent

Updated scan docstring.

上级 99fcb5f9
...@@ -265,11 +265,9 @@ def scan(fn, ...@@ -265,11 +265,9 @@ def scan(fn,
``n_steps`` is the number of steps to iterate given as an int ``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 or Theano scalar. If any of the input sequences do not have
enough elements, scan will raise an error. 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`` outputs will have *0 rows*. If n_steps is not provided, ``scan`` will
will run backwards in time. If the ``go_backwards`` flag is already figure out the amount of steps it should run given its input
set and also ``n_steps`` is negative, ``scan`` will run forward sequences. ``n_steps`` < 0 is not supported anymore.
in time. If n_steps is not provided, ``scan`` will figure
out the amount of steps it should run given its input sequences.
truncate_gradient truncate_gradient
``truncate_gradient`` is the number of steps to use in truncated ``truncate_gradient`` is the number of steps to use in truncated
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论