Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
ff1fcea3
提交
ff1fcea3
authored
3月 06, 2015
作者:
Arnaud Bergeron
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove deprecated c&py
上级
b6c3e5c1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
2 行增加
和
8 行删除
+2
-8
mode.py
theano/compile/mode.py
+0
-4
configdefaults.py
theano/configdefaults.py
+2
-2
cc.py
theano/gof/cc.py
+0
-2
没有找到文件。
theano/compile/mode.py
浏览文件 @
ff1fcea3
...
...
@@ -68,7 +68,6 @@ predefined_linkers = {
'c'
:
gof
.
CLinker
(),
# Don't support gc. so don't check allow_gc
'c|py'
:
gof
.
OpWiseCLinker
(),
# Use allow_gc Theano flag
'c|py_nogc'
:
gof
.
OpWiseCLinker
(
allow_gc
=
False
),
'c&py'
:
gof
.
DualLinker
(
checker
=
check_equal
),
# Deprecated
'vm'
:
gof
.
vm
.
VM_Linker
(
use_cloop
=
False
),
# Use allow_gc Theano flag
'cvm'
:
gof
.
vm
.
VM_Linker
(
use_cloop
=
True
),
# Use allow_gc Theano flag
'vm_nogc'
:
gof
.
vm
.
VM_Linker
(
allow_gc
=
False
,
use_cloop
=
False
),
...
...
@@ -394,9 +393,6 @@ def get_mode(orig_string):
def
get_default_mode
():
return
get_mode
(
None
)
# Removed: use config.mode instead.
#default_mode = config.mode
def
register_mode
(
name
,
mode
):
"""Add a `Mode` which can be referred to by `name` in `function`."""
...
...
theano/configdefaults.py
浏览文件 @
ff1fcea3
...
...
@@ -172,8 +172,8 @@ if rc == 0 and config.cxx != "":
AddConfigVar
(
'linker'
,
(
"Default linker used if the theano flags mode is Mode "
"or ProfileMode(deprecated)"
),
EnumStr
(
'cvm'
,
'c|py'
,
'py'
,
'c'
,
'c|py_nogc'
,
'c&py'
,
'vm'
,
'vm_nogc'
,
'cvm_nogc'
),
EnumStr
(
'cvm'
,
'c|py'
,
'py'
,
'c'
,
'c|py_nogc'
,
'vm'
,
'vm_nogc'
,
'cvm_nogc'
),
in_c_key
=
False
)
else
:
# g++ is not present or the user disabled it,
...
...
theano/gof/cc.py
浏览文件 @
ff1fcea3
...
...
@@ -1737,8 +1737,6 @@ class DualLinker(link.Linker):
no_recycling
=
[]
if
self
.
fgraph
is
not
None
and
self
.
fgraph
is
not
fgraph
:
return
type
(
self
)(
self
.
checker
)
.
accept
(
fgraph
,
no_recycling
)
# raise Exception("Cannot accept from a Linker that is already "
# "tied to another FunctionGraph.")
self
.
fgraph
=
fgraph
self
.
no_recycling
=
no_recycling
return
self
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论