Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
b0b4f13d
提交
b0b4f13d
authored
2月 02, 2016
作者:
Frederic Bastien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
small fix following code review
上级
49b79e5e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
7 行删除
+10
-7
config.txt
doc/library/config.txt
+1
-2
dnn.txt
doc/library/sandbox/cuda/dnn.txt
+5
-4
configdefaults.py
theano/configdefaults.py
+4
-1
没有找到文件。
doc/library/config.txt
浏览文件 @
b0b4f13d
...
@@ -579,8 +579,7 @@ import theano and print the config variable, as in:
...
@@ -579,8 +579,7 @@ import theano and print the config variable, as in:
If ``True``, if we can't use cudnn, raise an error.
If ``True``, if we can't use cudnn, raise an error.
If ``False``, do not test if cudnn is there and don't use it.
If ``False``, do not test if cudnn is there and don't use it.
Useful to disable it completly when the auto detection crash in some
Useful to disable it completely when the auto detection crashes.
strange case.
.. attribute:: config.dnn.conv.workmem
.. attribute:: config.dnn.conv.workmem
...
...
doc/library/sandbox/cuda/dnn.txt
浏览文件 @
b0b4f13d
...
@@ -38,10 +38,11 @@ By default, Theano will detect if it can use cuDNN. If so, it will use
...
@@ -38,10 +38,11 @@ By default, Theano will detect if it can use cuDNN. If so, it will use
it. If not, Theano optimizations will not introduce cuDNN ops. So
it. If not, Theano optimizations will not introduce cuDNN ops. So
Theano will still work if the user did not introduce them manually.
Theano will still work if the user did not introduce them manually.
The recently added Theano flag :attr:`dnn.enabled <config.dnn.enabled>`
The recently added Theano flag :attr:`dnn.enabled
allow to change the default behavior to force it or disable it. You
<config.dnn.enabled>` allows to change the default behavior to force
can also get an error with older Theano version if cuDNN can not be
it or disable it. Older Theano version do not support this flag. To
used, by using this Theano flag: ``optimizer_including=cudnn``.
get an error when CuDNN can not be sued with them, use this flag:
``optimizer_including=cudnn``.
.. note::
.. note::
...
...
theano/configdefaults.py
浏览文件 @
b0b4f13d
...
@@ -330,7 +330,10 @@ AddConfigVar('dnn.library_path',
...
@@ -330,7 +330,10 @@ AddConfigVar('dnn.library_path',
StrParam
(
default_dnn_path
(
'lib64'
)))
StrParam
(
default_dnn_path
(
'lib64'
)))
AddConfigVar
(
'dnn.enabled'
,
AddConfigVar
(
'dnn.enabled'
,
"If False, disable cudnn"
,
"'auto', use CuDNN is available, but silently fall back"
" to not using it if not present."
" If True and CuDNN can not be used, raise an error."
" If False, disable cudnn"
,
StrParam
(
"auto"
,
"True"
,
"False"
),
StrParam
(
"auto"
,
"True"
,
"False"
),
in_c_key
=
False
)
in_c_key
=
False
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论