Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
8cd8e5c2
提交
8cd8e5c2
authored
5月 04, 2016
作者:
Frederic Bastien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add more Theano flags as not being in the c key.
上级
cff49dcb
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
27 行增加
和
10 行删除
+27
-10
configdefaults.py
theano/configdefaults.py
+27
-10
没有找到文件。
theano/configdefaults.py
浏览文件 @
8cd8e5c2
...
...
@@ -42,6 +42,7 @@ AddConfigVar('floatX',
"Note: float16 support is experimental, use at your own risk."
,
EnumStr
(
'float64'
,
'float32'
,
'float16'
,
convert
=
floatX_convert
,),
in_c_key
=
False
)
AddConfigVar
(
'warn_float64'
,
...
...
@@ -343,11 +344,15 @@ def default_dnn_path(suffix):
AddConfigVar
(
'dnn.include_path'
,
"Location of the cudnn header (defaults to the cuda root)"
,
StrParam
(
default_dnn_path
(
'include'
)))
StrParam
(
default_dnn_path
(
'include'
)),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'dnn.library_path'
,
"Location of the cudnn header (defaults to the cuda root)"
,
StrParam
(
default_dnn_path
(
'lib'
if
sys
.
platform
==
'darwin'
else
'lib64'
)))
StrParam
(
default_dnn_path
(
'lib'
if
sys
.
platform
==
'darwin'
else
'lib64'
)),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'dnn.enabled'
,
"'auto', use cuDNN if available, but silently fall back"
...
...
@@ -543,7 +548,9 @@ AddConfigVar(
AddConfigVar
(
'lib.amdlibm'
,
"Use amd's amdlibm numerical library"
,
BoolParam
(
False
))
BoolParam
(
False
),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'gpuelemwise.sync'
,
...
...
@@ -863,7 +870,8 @@ AddConfigVar(
"any optimized graph and its optimization. Actually slow downs a lot "
"the first optimization, and could possibly still contains some bugs. "
"Use at your own risks."
,
BoolParam
(
False
))
BoolParam
(
False
),
in_c_key
=
False
)
def
good_seed_param
(
seed
):
...
...
@@ -1072,7 +1080,9 @@ AddConfigVar('optdb.max_use_ratio',
AddConfigVar
(
'gcc.cxxflags'
,
"Extra compiler flags for gcc"
,
StrParam
(
""
))
StrParam
(
""
),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'cmodule.mac_framework_link'
,
...
...
@@ -1096,7 +1106,8 @@ AddConfigVar('cmodule.remove_gxx_opt',
AddConfigVar
(
'cmodule.compilation_warning'
,
"If True, will print compilation warnings."
,
BoolParam
(
False
))
BoolParam
(
False
),
in_c_key
=
False
)
AddConfigVar
(
'cmodule.preload_cache'
,
...
...
@@ -1315,7 +1326,9 @@ def try_blas_flag(flags):
AddConfigVar
(
'blas.ldflags'
,
"lib[s] to include for [Fortran] level-3 blas implementation"
,
StrParam
(
default_blas_ldflags
))
StrParam
(
default_blas_ldflags
),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'metaopt.verbose'
,
...
...
@@ -1399,12 +1412,14 @@ AddConfigVar(
AddConfigVar
(
'scan.allow_gc'
,
"Allow/disallow gc inside of Scan (default: False)"
,
BoolParam
(
False
))
BoolParam
(
False
),
in_c_key
=
False
)
AddConfigVar
(
'scan.allow_output_prealloc'
,
"Allow/disallow memory preallocation for outputs inside of scan "
"(default: True)"
,
BoolParam
(
True
))
BoolParam
(
True
),
in_c_key
=
False
)
AddConfigVar
(
'pycuda.init'
,
"""If True, always initialize PyCUDA when Theano want to
...
...
@@ -1419,7 +1434,9 @@ AddConfigVar('pycuda.init',
AddConfigVar
(
'cublas.lib'
,
"""Name of the cuda blas library for the linker."""
,
StrParam
(
'cublas'
))
StrParam
(
'cublas'
),
# Added elsewhere in the c key only when needed.
in_c_key
=
False
)
AddConfigVar
(
'lib.cnmem'
,
"""Do we enable CNMeM or not (a faster CUDA memory allocator).
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论