Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
1039cc2d
提交
1039cc2d
authored
3月 07, 2012
作者:
lamblin
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #502 from nouiz/epd
Epd
上级
2aa51150
c5c96385
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
2 行删除
+9
-2
NEWS.txt
NEWS.txt
+2
-0
profilemode.py
theano/compile/profilemode.py
+1
-1
blas.py
theano/tensor/blas.py
+6
-1
没有找到文件。
NEWS.txt
浏览文件 @
1039cc2d
...
...
@@ -27,6 +27,8 @@ New Features
* debugprint new param stop_on_name=[False, True]. If True, we don't print
anything below an intermediate variable that has a name. Defaults to False.
* debugprint does not print anymore the "|" symbol in a column after the last input.
* If you use Enthought Python Distribution (EPD) now we use its blas
implementation by default.
Sparse Sandbox Addition (Not reviewed/documented/tested, but used by some people)
* They are all in the theano.sparse.sandbox.sp2 module
...
...
theano/compile/profilemode.py
浏览文件 @
1039cc2d
...
...
@@ -471,7 +471,7 @@ class ProfileMode(Mode):
ftot
=
tot
*
100
/
local_time
if
nb_call
==
0
:
continue
if
a
[
1
]
in
apply_cimpl
:
if
a
pply_cimpl
.
get
(
a
[
1
],
False
)
:
msg
=
'*'
else
:
msg
=
' '
...
...
theano/tensor/blas.py
浏览文件 @
1039cc2d
...
...
@@ -123,7 +123,7 @@ optimization is `local_gemm_to_gemv`.
"""
import
logging
,
copy
,
os
import
logging
,
copy
,
os
,
sys
import
numpy
import
numpy.distutils
...
...
@@ -301,6 +301,11 @@ ger_destructive = Ger(destructive=True)
def
default_blas_ldflags
():
try
:
# If we are in a EPD installation, mkl is available
if
"EPD"
in
sys
.
version
:
return
' '
.
join
(
[
'-L
%
s'
%
os
.
path
.
join
(
sys
.
prefix
,
"lib"
)]
+
[
'-l
%
s'
%
l
for
l
in
numpy
.
distutils
.
__config__
.
blas_opt_info
[
'libraries'
]])
#if numpy was linked with library that are not installed, we can't reuse them.
if
all
(
not
os
.
path
.
exists
(
dir
)
for
dir
in
numpy
.
distutils
.
__config__
.
blas_opt_info
[
'library_dirs'
]):
return
"-lblas"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论