Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
5408f046
提交
5408f046
authored
7月 23, 2014
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Typos, clarification of documentation.
上级
d08ac3bc
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
14 行增加
和
13 行删除
+14
-13
graphstructures.txt
doc/extending/graphstructures.txt
+14
-13
没有找到文件。
doc/extending/graphstructures.txt
浏览文件 @
5408f046
...
...
@@ -376,26 +376,27 @@ of inputs. In fact, doing so will raise an exception.
Graph Structures Extension
==========================
When we start the compilation of a Theano func
iton, we compute extra
information that is available to you.. This section try to describe
th
em. Not all are described up to now, so if you miss something,
email
theano-dev.
When we start the compilation of a Theano func
tion, we compute some
extra information. This section describes a portion of the information
th
at is made available. Not everything is described, so
email
theano-dev
if you need something that is missing
.
The graph get cloned at the start of compilation, so modificatio done
The graph gets cloned at the start of compilation, so modifications done
during compilation won't affect the user graph.
Each variable receive a new field called clients. It is a list with
`pointors`
to every place in the graph where this variable is used. If
its length is 0, it mean the variable isn't used. Each place where it
is used
are described as a tuple of 2 elements. There is two type
of
Each variable receive
s
a new field called clients. It is a list with
reference
to every place in the graph where this variable is used. If
its length is 0, it mean
s
the variable isn't used. Each place where it
is used
is described by a tuple of 2 elements. There is two types
of
pairs:
- The first element is an Apply node.
- The first element is the string "output". It mean
the theano
function output this variable.
- The first element is the string "output". It mean
s the
function output
s
this variable.
In
all type
of pairs, the second element of the tuple is an index,
such that: ``
the_apply_node
.inputs[index]`` or
In
both types
of pairs, the second element of the tuple is an index,
such that: ``
var.clients[*][0]
.inputs[index]`` or
``fgraph.outputs[index]`` is that variable.
.. code-block:: python
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论