Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
8f259f6c
提交
8f259f6c
authored
2月 12, 2016
作者:
carriepl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add a bit more information to various sections
上级
5ca77f3e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
15 行增加
和
10 行删除
+15
-10
scan.txt
doc/developer/scan.txt
+15
-10
没有找到文件。
doc/developer/scan.txt
浏览文件 @
8f259f6c
...
...
@@ -45,8 +45,9 @@ knowledge of:
Relevant code files
===================
The implementation of scan is spread over several files. The different
files, and section of the code they deal with, are :
The implementation of scan is spread over several files in
``theano/scan_module``. The different files, and sections of the code they
deal with, are :
* ``scan.py`` implements the ``scan`` function. The ``scan`` function
arranges the arguments of scan correctly, constructs the scan op and
...
...
@@ -93,15 +94,16 @@ The following are the different types of variables that Scan has the capacity to
handle, along with their various caracteristics.
**Sequence** : A sequence is a Theano variable which Scan will iterate over and
give sub-elements to its inner function
. For a sequence variable `X`, at
timestep `t`, the inner function will receive as input the sequence element
`X[t]`. These variables are used through the argument `sequences` of the
`theano.scan()` function.
give sub-elements to its inner function
as input. A sequence has no associated
output. For a sequence variable `X`, at timestep `t`, the inner function will
receive as input the sequence element `X[t]`. These variables are used through
the argument `sequences` of the
`theano.scan()` function.
**Non-sequences** : A non-sequence is a Theano variable which Scan will provide
`as-is` to its inner function. For a non-sequence variable X, at timestep `t`,
the inner function will receive as input the variable X. These variables are
used through the argument `non_sequences` of the `theano.scan()` function.
`as-is` to its inner function. Like a sequence, a non-sequence has no
associated output. For a non-sequence variable X, at timestep `t`, the inner
function will receive as input the variable X. These variables are used through
the argument `non_sequences` of the `theano.scan()` function.
**Nitsot (no input tap, single output tap)** : A nitsot is an output variable of
the inner function that is not fed back as an input to the next iteration of the
...
...
@@ -120,7 +122,10 @@ accumulator.
**Mitsot (multiple input taps, single output tap)** : A mitsot is an output
variable of the inner function that is fed back as an input to future iterations
of the inner function (either multiple future iterations or a single one that
isn't the immediate next one).
isn't the immediate next one). For example, a mitsot might be used in the case
where scan is used to compute the Fibonacci sequence, one term of the sequence
at every timestep, since every computed term needs to be reused to compute
the two next terms of the sequence.
**Mitmot (multiple input taps, multiple output taps)** : These outputs exist
but they cannot be directly created by the user. They can appear in a theano
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论