Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
cdd90a8a
提交
cdd90a8a
authored
4月 01, 2012
作者:
Olivier Delalleau
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Typo fixes and better phrasing
上级
8e8b9f99
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
NEWS.txt
NEWS.txt
+6
-6
configdefaults.py
theano/configdefaults.py
+1
-1
cuda_ndarray.cu
theano/sandbox/cuda/cuda_ndarray.cu
+3
-3
没有找到文件。
NEWS.txt
浏览文件 @
cdd90a8a
...
@@ -10,12 +10,12 @@ Bug fixes
...
@@ -10,12 +10,12 @@ Bug fixes
* In Sparse sandbox, fix the grad of theano.sparse.sandbox.sp.row_scale.
* In Sparse sandbox, fix the grad of theano.sparse.sandbox.sp.row_scale.
It did not return the right number of elements. (Frederic B.)
It did not return the right number of elements. (Frederic B.)
* set_subtensor(x[int vector], new_value) when moved to the GPU
* set_subtensor(x[int vector], new_value) when moved to the GPU
w
here transformed into inc_subtensor on the GPU. Now we have a slow
w
as transformed into inc_subtensor on the GPU. Now we have a correct
GPU implementation.
(but slow)
GPU implementation.
Note: set_subtensor(x[slice[,...]], new_value) was working correctly
Note
1
: set_subtensor(x[slice[,...]], new_value) was working correctly
in all case as well as inc_subtensor(*, *).
in all case
s
as well as inc_subtensor(*, *).
Note
2: If your code have this behavior, we print a warning by default.
Note
2: If your code was affected by the incorrect behavior, we now print
(Frederic B.)
a warning by default
(Frederic B.)
* Fixed an issue whereby config values were used as default arguments,
* Fixed an issue whereby config values were used as default arguments,
with those defaults then stuck at old values if the config variables were
with those defaults then stuck at old values if the config variables were
changed during program execution. (David W-F)
changed during program execution. (David W-F)
...
...
theano/configdefaults.py
浏览文件 @
cdd90a8a
...
@@ -317,7 +317,7 @@ AddConfigVar('warn.subtensor_merge_bug',
...
@@ -317,7 +317,7 @@ AddConfigVar('warn.subtensor_merge_bug',
AddConfigVar
(
'warn.gpu_set_subtensor1'
,
AddConfigVar
(
'warn.gpu_set_subtensor1'
,
"Warn if previous versions of Theano (before 0.6) could have given "
"Warn if previous versions of Theano (before 0.6) could have given "
"incorrect results when moving to the gpu"
"incorrect results when moving to the gpu
"
"set_subtensor(x[int vector], new_value)"
,
"set_subtensor(x[int vector], new_value)"
,
BoolParam
(
warn_default
(
'0.6'
)),
BoolParam
(
warn_default
(
'0.6'
)),
in_c_key
=
False
)
in_c_key
=
False
)
...
...
theano/sandbox/cuda/cuda_ndarray.cu
浏览文件 @
cdd90a8a
...
@@ -2799,9 +2799,9 @@ int CudaNdarray_CopyFromCudaNdarray(CudaNdarray * self,
...
@@ -2799,9 +2799,9 @@ int CudaNdarray_CopyFromCudaNdarray(CudaNdarray * self,
if
(
self
->
nd
<
other
->
nd
)
if
(
self
->
nd
<
other
->
nd
)
{
{
PyErr_Format
(
PyExc_NotImplementedError
,
PyErr_Format
(
PyExc_NotImplementedError
,
"CudaNdarray_CopyFromCudaNdarray: The
destination need more or the
"
"CudaNdarray_CopyFromCudaNdarray: The
number of dimensions of the
"
"
same number of dimensions then the source. Got %d and %d."
,
"
destination needs to be >= the number of dimensions of the "
self
->
nd
,
other
->
nd
);
"source. Got %d and %d."
,
self
->
nd
,
other
->
nd
);
return
-
1
;
return
-
1
;
}
}
else
if
(
self
->
nd
!=
other
->
nd
)
else
if
(
self
->
nd
!=
other
->
nd
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论