Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
efe503b0
提交
efe503b0
authored
3月 31, 2011
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Document that the value of some flags cannot be changed once set.
上级
ed02ec70
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
19 行增加
和
1 行删除
+19
-1
config.txt
doc/library/config.txt
+19
-1
没有找到文件。
doc/library/config.txt
浏览文件 @
efe503b0
...
@@ -113,6 +113,8 @@ import theano and print the config variable, as in:
...
@@ -113,6 +113,8 @@ import theano and print the config variable, as in:
to use a specific device. If we are not able to use the GPU, either we fall back
to use a specific device. If we are not able to use the GPU, either we fall back
on the CPU, or an error is raised, depending on the :attr:`force_device` flag.
on the CPU, or an error is raised, depending on the :attr:`force_device` flag.
This flag's value cannot be modified during the program execution.
.. attribute:: force_device
.. attribute:: force_device
Bool value: either ``True`` or ``False``
Bool value: either ``True`` or ``False``
...
@@ -122,6 +124,8 @@ import theano and print the config variable, as in:
...
@@ -122,6 +124,8 @@ import theano and print the config variable, as in:
If ``True``, we raise an error if we cannot use the specified :attr:`device`.
If ``True``, we raise an error if we cannot use the specified :attr:`device`.
If ``False``, we fall back to the CPU.
If ``False``, we fall back to the CPU.
This flag's value cannot be modified during the program execution.
.. attribute:: init_gpu_device
.. attribute:: init_gpu_device
String value: either ``''``, ``'gpu'``, ``'gpu0'``, ``'gpu1'``, ``'gpu2'``,
String value: either ``''``, ``'gpu'``, ``'gpu0'``, ``'gpu1'``, ``'gpu2'``,
...
@@ -136,6 +140,8 @@ import theano and print the config variable, as in:
...
@@ -136,6 +140,8 @@ import theano and print the config variable, as in:
This flag is useful to run GPU-specific tests on a particular GPU, instead
This flag is useful to run GPU-specific tests on a particular GPU, instead
of using the default one.
of using the default one.
This flag's value cannot be modified during the program execution.
.. attribute:: floatX
.. attribute:: floatX
String value: either 'float64' or 'float32'.
String value: either 'float64' or 'float32'.
...
@@ -210,6 +216,8 @@ import theano and print the config variable, as in:
...
@@ -210,6 +216,8 @@ import theano and print the config variable, as in:
It is also recommended you put this into your .theanorc, so this setting
It is also recommended you put this into your .theanorc, so this setting
will always be used.
will always be used.
This flag's value cannot be modified during the program execution.
.. attribute:: home
.. attribute:: home
Default: env-variable $HOME
Default: env-variable $HOME
...
@@ -222,6 +230,8 @@ import theano and print the config variable, as in:
...
@@ -222,6 +230,8 @@ import theano and print the config variable, as in:
This directory stores the architecture-dependent compilation directories.
This directory stores the architecture-dependent compilation directories.
This flag's value cannot be modified during the program execution.
.. attribute:: compiledir
.. attribute:: compiledir
Default: $HOME/.theano/<arch-identifier>
Default: $HOME/.theano/<arch-identifier>
...
@@ -229,6 +239,8 @@ import theano and print the config variable, as in:
...
@@ -229,6 +239,8 @@ import theano and print the config variable, as in:
This directory stores dynamically-compiled modules for a particular
This directory stores dynamically-compiled modules for a particular
architecture.
architecture.
This flag's value cannot be modified during the program execution.
.. attribute:: config.blas.ldflags
.. attribute:: config.blas.ldflags
Default: '-lblas'
Default: '-lblas'
...
@@ -258,6 +270,8 @@ import theano and print the config variable, as in:
...
@@ -258,6 +270,8 @@ import theano and print the config variable, as in:
use the flags: optimizer_excluding:inplace_opt, where
use the flags: optimizer_excluding:inplace_opt, where
inplace_opt is the name of that optimization.
inplace_opt is the name of that optimization.
This flag's value cannot be modified during the program execution.
.. attribute:: optimizer_including
.. attribute:: optimizer_including
Default: ""
Default: ""
...
@@ -265,6 +279,8 @@ import theano and print the config variable, as in:
...
@@ -265,6 +279,8 @@ import theano and print the config variable, as in:
A list of optimizer tags that we want included in the default Mode.
A list of optimizer tags that we want included in the default Mode.
If multiple tags, separate them by ':'.
If multiple tags, separate them by ':'.
This flag's value cannot be modified during the program execution.
.. attribute:: optimizer_requiring
.. attribute:: optimizer_requiring
Default: ""
Default: ""
...
@@ -272,6 +288,8 @@ import theano and print the config variable, as in:
...
@@ -272,6 +288,8 @@ import theano and print the config variable, as in:
A list of optimizer tags that we require for optimizer in the default Mode.
A list of optimizer tags that we require for optimizer in the default Mode.
If multiple tags, separate them by ':'.
If multiple tags, separate them by ':'.
This flag's value cannot be modified during the program execution.
.. attribute:: nocleanup
.. attribute:: nocleanup
Bool value: either True or False
Bool value: either True or False
...
@@ -282,4 +300,4 @@ import theano and print the config variable, as in:
...
@@ -282,4 +300,4 @@ import theano and print the config variable, as in:
This mean it remove file that he tried to compile but failed.
This mean it remove file that he tried to compile but failed.
Set to True to keep the source file that failed to compile to
Set to True to keep the source file that failed to compile to
debug them.
debug them.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论