Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
278ecf5b
提交
278ecf5b
authored
12月 05, 2012
作者:
nouiz
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1121 from delallea/minor
Minor stuff
上级
b412823a
1b11ce9a
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
14 行增加
和
14 行删除
+14
-14
install.txt
doc/install.txt
+3
-3
config.txt
doc/library/config.txt
+1
-1
sparse.txt
doc/sandbox/sparse.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
basic.py
theano/tensor/basic.py
+5
-5
extra_ops.py
theano/tensor/extra_ops.py
+1
-1
没有找到文件。
doc/install.txt
浏览文件 @
278ecf5b
...
...
@@ -770,9 +770,9 @@ Alternative: Anaconda 0.8.3 (Linux VM on Windows)
#################################################
ContinuumIO_ was providing a free VM with Theano installed. Now they
provide a new installation system that install
itself on Windows. We
don't have the time now to update the docs, so we remove the old
documentations that don't work.
provide a new installation system that install
s itself on Windows.
Since we lack time to update this part of the documentation, it has been
removed for now. Check back later!
.. _ContinuumIO: http://continuum.io
...
...
doc/library/config.txt
浏览文件 @
278ecf5b
...
...
@@ -199,7 +199,7 @@ import theano and print the config variable, as in:
Bool value: either True or False
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.
It is the default value used when creating an Op that support it.
...
...
doc/sandbox/sparse.txt
浏览文件 @
278ecf5b
...
...
@@ -15,7 +15,7 @@ Note that you want SciPy >= 0.7.2
dimensions. There may be more bugs. It also has inconsistent
implementation of sparse matrices.
We do not test against
version bellow SciPy
0.7.2.
We do not test against
SciPy versions below
0.7.2.
We describe the details of the compressed sparse matrix types.
``scipy.sparse.csc_matrix``
...
...
theano/sandbox/cuda/basic_ops.py
浏览文件 @
278ecf5b
...
...
@@ -2304,7 +2304,7 @@ class GpuAdvancedSubtensor1(tensor.AdvancedSubtensor1, GpuOp):
x
,
idx
=
inp
out
,
=
out_
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
if
x
.
ndim
>
3
and
x
.
is_c_contiguous
():
x
=
x
.
reshape
((
x
.
shape
[
0
],
numpy
.
prod
(
x
.
shape
[
1
:])))
...
...
theano/sandbox/cuda/tests/test_conv_cuda_ndarray.py
浏览文件 @
278ecf5b
...
...
@@ -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
,
((
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
#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
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
]
...
...
@@ -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
# , ((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
#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
,
1050
,
13
),
(
3
,
4
,
10
,
11
),
(
1
,
1
),
(
1
,
1
),
(
1
,
1
))
]
...
...
theano/tensor/basic.py
浏览文件 @
278ecf5b
...
...
@@ -2377,8 +2377,8 @@ class SpecifyShape(Op):
def
c_code
(
self
,
node
,
nodename
,
inp
,
out
,
sub
):
if
not
isinstance
(
node
.
inputs
[
0
],
TensorVariable
):
# The
c code bellow support
only Tensor. super.c_code
# will raise an exception to tell that there is
n't c
code
# The
C code below supports
only Tensor. super.c_code
# will raise an exception to tell that there is
no C
code
# for the other cases.
return
super
(
SpecifyShape
,
self
)
.
c_code
(
node
,
nodename
,
inp
,
out
,
sub
)
...
...
@@ -2389,8 +2389,8 @@ class SpecifyShape(Op):
return
"""
if (PyArray_NDIM(
%(iname)
s) != PyArray_DIMS(
%(shape)
s)[0]) {
PyErr_Format(PyExc_AssertionError,
"SpecifyShape: vector of shape ha
ve
%%
d element
,"
" but the input ha
ve
%%
d dimensions.",
"SpecifyShape: vector of shape ha
s
%%
d elements
,"
" but the input ha
s
%%
d dimensions.",
PyArray_NDIM(
%(iname)
s),
PyArray_DIMS(
%(shape)
s)[0]);
%(fail)
s;
...
...
@@ -2400,7 +2400,7 @@ class SpecifyShape(Op):
i))[0];
if (PyArray_DIMS(
%(iname)
s)[i] != shp) {
PyErr_Format(PyExc_AssertionError,
"SpecifyShape: dim
%%
d of input ha
ve
shape
%%
d,"
"SpecifyShape: dim
%%
d of input ha
s
shape
%%
d,"
" expected
%%
d.",
i, PyArray_DIMS(
%(iname)
s)[i],
shp);
...
...
theano/tensor/extra_ops.py
浏览文件 @
278ecf5b
...
...
@@ -491,7 +491,7 @@ def fill_diagonal(a, val):
2, the main diagonal is the list of locations a[i, i, ..., i]
(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.
.. versionadded:: 0.6
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论