Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
1b11ce9a
提交
1b11ce9a
authored
12月 05, 2012
作者:
Olivier Delalleau
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Typo fix: "more then" -> "more than"
上级
530f8fb1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
config.txt
doc/library/config.txt
+1
-1
basic_ops.py
theano/sandbox/cuda/basic_ops.py
+1
-1
test_conv_cuda_ndarray.py
theano/sandbox/cuda/tests/test_conv_cuda_ndarray.py
+2
-2
extra_ops.py
theano/tensor/extra_ops.py
+1
-1
没有找到文件。
doc/library/config.txt
浏览文件 @
1b11ce9a
...
@@ -199,7 +199,7 @@ import theano and print the config variable, as in:
...
@@ -199,7 +199,7 @@ import theano and print the config variable, as in:
Bool value: either True or False
Bool value: either True or False
Default: True if the environment variable OMP_NUM_THREADS!=1 or
Default: True if the environment variable OMP_NUM_THREADS!=1 or
if we detect more th
e
n 1 CPU core. Otherwise False.
if we detect more th
a
n 1 CPU core. Otherwise False.
Enable or not parallel computation on the CPU with OpenMP.
Enable or not parallel computation on the CPU with OpenMP.
It is the default value used when creating an Op that support it.
It is the default value used when creating an Op that support it.
...
...
theano/sandbox/cuda/basic_ops.py
浏览文件 @
1b11ce9a
...
@@ -2304,7 +2304,7 @@ class GpuAdvancedSubtensor1(tensor.AdvancedSubtensor1, GpuOp):
...
@@ -2304,7 +2304,7 @@ class GpuAdvancedSubtensor1(tensor.AdvancedSubtensor1, GpuOp):
x
,
idx
=
inp
x
,
idx
=
inp
out
,
=
out_
out
,
=
out_
x_orig
=
x
x_orig
=
x
#TODO: if more th
e
n 3 dims, reshape the inputs even if not all
#TODO: if more th
a
n 3 dims, reshape the inputs even if not all
#dimensions are c contiguous
#dimensions are c contiguous
if
x
.
ndim
>
3
and
x
.
is_c_contiguous
():
if
x
.
ndim
>
3
and
x
.
is_c_contiguous
():
x
=
x
.
reshape
((
x
.
shape
[
0
],
numpy
.
prod
(
x
.
shape
[
1
:])))
x
=
x
.
reshape
((
x
.
shape
[
0
],
numpy
.
prod
(
x
.
shape
[
1
:])))
...
...
theano/sandbox/cuda/tests/test_conv_cuda_ndarray.py
浏览文件 @
1b11ce9a
...
@@ -395,7 +395,7 @@ def get_valid_shapes():
...
@@ -395,7 +395,7 @@ def get_valid_shapes():
,
((
20
,
16
,
32
,
32
),
(
1
,
16
,
28
,
28
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
# layer 1 backprop to weights
,
((
20
,
16
,
32
,
32
),
(
1
,
16
,
28
,
28
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
# layer 1 backprop to weights
,
((
60
,
20
,
28
,
28
),
(
10
,
20
,
5
,
5
),
(
1
,
1
),
(
2
,
2
),
(
1
,
1
))
#added a test case that fail from test_nnet.py.test_conv_nnet2
,
((
60
,
20
,
28
,
28
),
(
10
,
20
,
5
,
5
),
(
1
,
1
),
(
2
,
2
),
(
1
,
1
))
#added a test case that fail from test_nnet.py.test_conv_nnet2
,
((
10
,
5
,
28
,
28
),
(
10
,
5
,
5
,
5
),
(
1
,
1
),
(
2
,
2
),
(
1
,
1
))
#test precedent but reduced that triger the error
,
((
10
,
5
,
28
,
28
),
(
10
,
5
,
5
,
5
),
(
1
,
1
),
(
2
,
2
),
(
1
,
1
))
#test precedent but reduced that triger the error
#Test more th
e
n maxThreadsDim0
#Test more th
a
n maxThreadsDim0
,
((
2
,
4
,
13
,
1050
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
13
,
1050
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
]
]
...
@@ -667,7 +667,7 @@ def test_full():
...
@@ -667,7 +667,7 @@ def test_full():
,
((
10
,
30
,
23
,
23
),(
20
,
30
,
7
,
7
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
#test_lenet_64 full
,
((
10
,
30
,
23
,
23
),(
20
,
30
,
7
,
7
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
#test_lenet_64 full
# , ((20,10,29,29),(30,10,23,23), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 1
# , ((20,10,29,29),(30,10,23,23), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 1
# , ((1,10,64,64),(20,10,58,58), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 2
# , ((1,10,64,64),(20,10,58,58), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 2
#Test more th
e
n maxThreadsDim0
#Test more th
a
n maxThreadsDim0
,
((
2
,
4
,
13
,
1050
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
13
,
1050
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
,
((
2
,
4
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
]
]
...
...
theano/tensor/extra_ops.py
浏览文件 @
1b11ce9a
...
@@ -491,7 +491,7 @@ def fill_diagonal(a, val):
...
@@ -491,7 +491,7 @@ def fill_diagonal(a, val):
2, the main diagonal is the list of locations a[i, i, ..., i]
2, the main diagonal is the list of locations a[i, i, ..., i]
(i.e. with indices all identical).)
(i.e. with indices all identical).)
Support rectangular matrix and tensor with more th
e
n 2 dimensions
Support rectangular matrix and tensor with more th
a
n 2 dimensions
if the later have all dimensions are equals.
if the later have all dimensions are equals.
.. versionadded:: 0.6
.. versionadded:: 0.6
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论