提交 cb32d070 authored 作者: Jakob Lombacher's avatar Jakob Lombacher

Fix spelling in documentation

上级 63934182
...@@ -138,7 +138,7 @@ Simple accumulation into a scalar, ditching lambda ...@@ -138,7 +138,7 @@ Simple accumulation into a scalar, ditching lambda
Although this example would seem almost self-explanatory, it stresses a Although this example would seem almost self-explanatory, it stresses a
pitfall to be careful of: the initial output state that is supplied, that is pitfall to be careful of: the initial output state that is supplied, that is
``output_info``, must be of a **shape similar to that of the output variable** ``outputs_info``, must be of a **shape similar to that of the output variable**
generated at each iteration and moreover, it **must not involve an implicit generated at each iteration and moreover, it **must not involve an implicit
downcast** of the latter. downcast** of the latter.
......
...@@ -503,7 +503,7 @@ def scan(fn, ...@@ -503,7 +503,7 @@ def scan(fn,
if as_while: if as_while:
tmp_dummy_f_outs -= 1 tmp_dummy_f_outs -= 1
if not (tmp_dummy_f_outs == n_outs or outs_info == []): if not (tmp_dummy_f_outs == n_outs or outs_info == []):
raise ValueError('Please provide None as output_info for ' raise ValueError('Please provide None as outputs_info for '
'any output that does not feed back into ' 'any output that does not feed back into '
'scan (i.e. it behaves like a map) ') 'scan (i.e. it behaves like a map) ')
......
...@@ -97,7 +97,7 @@ def scan(fn, ...@@ -97,7 +97,7 @@ def scan(fn,
The order of the sequences is the same as the one in the list The order of the sequences is the same as the one in the list
`sequences` given to scan. The order of the outputs is the same `sequences` given to scan. The order of the outputs is the same
as the order of ``output_info``. For any sequence or output the as the order of ``outputs_info``. For any sequence or output the
order of the time slices is the same as the one in which they have order of the time slices is the same as the one in which they have
been given as taps. For example if one writes the following : been given as taps. For example if one writes the following :
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论