Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
5d226894
提交
5d226894
authored
4月 04, 2012
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update doc
上级
62508f2d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
30 行增加
和
9 行删除
+30
-9
config.txt
doc/library/config.txt
+30
-9
没有找到文件。
doc/library/config.txt
浏览文件 @
5d226894
...
@@ -520,24 +520,45 @@ import theano and print the config variable, as in:
...
@@ -520,24 +520,45 @@ import theano and print the config variable, as in:
Bool value, default: False
Bool value, default: False
Should each SeqOptimizer object print the time taken by each of its
Should each SeqOptimizer object print the time taken by each of its
optimizer. Each SeqOptimizer prints something like this:
optimizer. Each SeqOptimizer prints something like this:
:
SeqOptimizer gpu_opt time 0.014s for 8/9 nodes before/after optimization
SeqOptimizer gpu_opt time 0.014s for 8/9 nodes before/after optimization
[(0.0004410743713378906, ('InputToGpuOptimizer',
0.012573s - ('gpu_local_optimizations', 'EquilibriumOptimizer')
'InputToGpuOptimizer')), (0.0013730525970458984,
0.001373s - ('gpu_cut_transfers', 'EquilibriumOptimizer')
('gpu_cut_transfers', 'EquilibriumOptimizer')),
0.000441s - ('InputToGpuOptimizer', 'InputToGpuOptimizer')
(0.012573957443237305, ('gpu_local_optimizations',
'EquilibriumOptimizer'))]
This prints the name of the SeqOptimizer (gpu_opt), the number of
This prints the name of the SeqOptimizer (gpu_opt), the number of
Apply nodes in the graph before (8) and after (9)
Apply nodes in the graph before (8) and after (9)
optimizations. Then a list of
tuples with 1 tupl
e per optimization
optimizations. Then a list of
lines, on
e per optimization
in this SeqOptimizer. The first element
of the tuple
is the time
in this SeqOptimizer. The first element is the time
taken by this optimization and then it is a tuple with the name of the
taken by this optimization and then it is a tuple with the name of the
optimization and this class. This list is sorted from the sub
optimization and this class. This list is sorted from the sub
optimization that takes the most time to the optimization that takes
optimization that takes the most time to the optimization that takes
the least time.
the least time.
.. attribute:: config.time_eq_optimizer
Bool value, default: False
Should each EquilibriumOptimizer print the time taken by each of its
iterations, the total number of times each of its optimizers is applied,
and informations about the total number of nodes in the graph.
Here is an example of output::
EquilibriumOptimizer specialize
time 4.760s for 4 passes, 3801 nodes max
0 - 1.961s (0.079s in global opts) - 3797 nodes
1 - 1.233s (0.080s in global opts) - 3801 nodes
2 - 0.857s (0.071s in global opts) - 3203 nodes
3 - 0.710s (0.066s in global opts) - 3095 nodes
times applied - optimizer:
384 - dimshuffle_as_view
262 - constant_folding
216 - local_subtensor_make_vector
216 - local_shape_to_shape_i
4 - local_mul_specialize
.. attribute:: config.cmodule.warn_no_version
.. attribute:: config.cmodule.warn_no_version
Bool value, default: False
Bool value, default: False
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论