Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
dbb03761
提交
dbb03761
authored
12月 05, 2014
作者:
Frédéric Bastien
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2325 from abergeron/doc
Document nvcc.fastmath and fix cxx description.
上级
a6c2d45f
c28b6a0e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
27 行增加
和
17 行删除
+27
-17
config.txt
doc/library/config.txt
+27
-17
没有找到文件。
doc/library/config.txt
浏览文件 @
dbb03761
.. _libdoc_config:
=======================================
:mod:`config` -- Theano Configuration
:mod:`config` -- Theano Configuration
=======================================
.. module:: config
...
...
@@ -493,19 +493,29 @@ import theano and print the config variable, as in:
.. attribute:: cxx
Default: Full path to g++ if g++ is present. Empty string otherwise.
Default: 'g++' if g++ is present. Empty string otherwise.
Indicates which C++ compiler to use. If empty, no C++ code is
compiled. Theano automatically detects whether g++ is present and
disables C++ compilation when it is not. On darwin systems (Mac
OS X), it preferably looks for clang++ and uses that if available.
Indicates which C++ compiler to use. If empty, no C++ code is compiled.
Theano automatically detects whether g++ is present and disables
C++ compilation when it is not.
We print a warning if we detect that g++ is not present. It is
We print a warning if we detect that no compiler is present. It is
recommended to run with C++ compilation as Theano will be much
slower otherwise.
Currently only g++ is supported, but supporting other compilers should
not be too difficult.
This can be any compiler binary (full path or not) but things may
break if the interface if not g++-compatible to some degree.
.. attribute:: config.nvcc.fastmath
Default: False
If true, this will enable fastmath (`--use_fast_math
<http://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/#options-for-steering-cuda-compilation>`_)
mode for compiled cuda code which makes div and sqrt faster at the
cost of precision. This also disables support for denormal
numbers.
.. attribute:: optimizer_excluding
...
...
@@ -705,7 +715,7 @@ import theano and print the config variable, as in:
debugging mechanism, where Theano executes the graph on-the-fly, as it is
being built. This allows the user to spot errors early on (such as
dimension mis-match), **before** optimizations are applied.
Theano will execute the graph using the Constants and/or shared variables
provided by the user. Purely symbolic variables (e.g. x = T.dmatrix()) can be
augmented with test values, by writing to their ``'tag.test_value'``
...
...
@@ -718,7 +728,7 @@ import theano and print the config variable, as in:
- ``'warn'`` will raise a UserWarning and skip the debug mechanism for
this Op
- ``'raise'`` will raise an Exception
.. attribute:: compute_test_value_opt
As ``compute_test_value``, but it is the value used during Theano
...
...
@@ -729,18 +739,18 @@ import theano and print the config variable, as in:
Bool value, default: True
Theano users can use the standard python pickle tools to save a compiled
theano function. When pickling, both graph before and after the optimization
are saved, including shared variables. When set to True, the graph is
reoptimized when being unpickled. Otherwise, skip the graph optimization and
use directly the optimized graph.
Theano users can use the standard python pickle tools to save a compiled
theano function. When pickling, both graph before and after the optimization
are saved, including shared variables. When set to True, the graph is
reoptimized when being unpickled. Otherwise, skip the graph optimization and
use directly the optimized graph.
.. attribute:: exception_verbosity
String Value: ``'low'``, ``'high'``.
Default: ``'low'``
If ``'low'``, the text of exceptions will generally refer to apply nodes
with short names such as ``'Elemwise{add_no_inplace}'``. If ``'high'``,
some exceptions will also refer to apply nodes with long descriptions like:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论