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

correct the documentation to point to theano.scan_module.until instead of

theano.until
上级 c5ef27cf
...@@ -164,14 +164,14 @@ def scan( fn ...@@ -164,14 +164,14 @@ def scan( fn
.. code-block:: python .. code-block:: python
... ...
return [y1_t, y2_t], {x:x+1}, theano.until(x < 50) return [y1_t, y2_t], {x:x+1}, theano.scan_module.until(x < 50)
or or
.. code-block:: python .. code-block:: python
... ...
return theano.until(x<50, [y1_t, y2_t], {x:x+1}) return theano.scan_module.until(x<50, [y1_t, y2_t], {x:x+1})
Note that a number of steps ( considered in here as the maximum Note that a number of steps ( considered in here as the maximum
number of steps ) is still required even though a condition is number of steps ) is still required even though a condition is
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论