Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
59f42d11
提交
59f42d11
authored
8月 07, 2017
作者:
Frederic Bastien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
flake8
上级
052588b9
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
configparser.py
theano/configparser.py
+0
-0
cc.py
theano/gof/cc.py
+3
-3
没有找到文件。
theano/configparser.py
浏览文件 @
59f42d11
theano/gof/cc.py
浏览文件 @
59f42d11
...
@@ -1229,14 +1229,14 @@ class CLinker(link.Linker):
...
@@ -1229,14 +1229,14 @@ class CLinker(link.Linker):
The signature has the following form:
The signature has the following form:
{{{
{{{
'CLinker.cmodule_key', compilation args, libraries,
'CLinker.cmodule_key', compilation args, libraries,
header_dirs, numpy ABI version, config
md5
,
header_dirs, numpy ABI version, config
hash
,
(op0, input_signature0, output_signature0),
(op0, input_signature0, output_signature0),
(op1, input_signature1, output_signature1),
(op1, input_signature1, output_signature1),
...
...
(opK, input_signatureK, output_signatureK),
(opK, input_signatureK, output_signatureK),
}}}
}}}
Note that config md5
uses sha256, and not md5. Function names will
Note that config hash now
uses sha256, and not md5. Function names will
updated in a future release to reflect the use of hashlib.sha256.
updated in a future release to reflect the use of hashlib.sha256.
The signature is a tuple, some elements of which are sub-tuples.
The signature is a tuple, some elements of which are sub-tuples.
...
@@ -1350,7 +1350,7 @@ class CLinker(link.Linker):
...
@@ -1350,7 +1350,7 @@ class CLinker(link.Linker):
constant_ids
=
dict
()
constant_ids
=
dict
()
op_pos
=
{}
# Apply -> topological position
op_pos
=
{}
# Apply -> topological position
# First we put the header, compile_args, library names and config
md5
# First we put the header, compile_args, library names and config
hash
# into the signature.
# into the signature.
sig
=
[
'CLinker.cmodule_key'
]
# will be cast to tuple on return
sig
=
[
'CLinker.cmodule_key'
]
# will be cast to tuple on return
if
compile_args
is
not
None
:
if
compile_args
is
not
None
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论