Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
0ce1949f
提交
0ce1949f
authored
4月 15, 2015
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tag tests as slow
上级
e8d02ddb
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
0 行删除
+7
-0
test_scan.py
theano/scan_module/tests/test_scan.py
+1
-0
test_elemwise.py
theano/tensor/tests/test_elemwise.py
+2
-0
test_extra_ops.py
theano/tensor/tests/test_extra_ops.py
+1
-0
test_subtensor.py
theano/tensor/tests/test_subtensor.py
+1
-0
test_tutorial.py
theano/tests/test_tutorial.py
+2
-0
没有找到文件。
theano/scan_module/tests/test_scan.py
浏览文件 @
0ce1949f
...
...
@@ -1964,6 +1964,7 @@ class T_Scan(unittest.TestCase):
analytic_grad
=
reset_rng_grad_fn
(
v_u
,
v_x0
,
vW_in
)
utt
.
assert_allclose
(
analytic_grad
[
0
][:
2
],
numpy
.
zeros
((
2
,
2
)))
@attr
(
'slow'
)
def
test_grad_multiple_outs_some_disconnected
(
self
):
# Created on Tue Oct 07 13:28:51 2014
# @author: vaneetke
...
...
theano/tensor/tests/test_elemwise.py
浏览文件 @
0ce1949f
...
...
@@ -569,6 +569,7 @@ class test_Prod(unittest.TestCase):
self
.
mode
=
mode
@attr
(
'slow'
)
def
test_verify_grad
(
self
):
# including zeros, as the case with zeros is important
...
...
@@ -625,6 +626,7 @@ class test_Prod(unittest.TestCase):
#unittest_tools.verify_grad(fn5, [x_val])
@attr
(
'slow'
)
def
test_prod_no_zeros_in_input
(
self
):
x
=
theano
.
tensor
.
dmatrix
()
x_val
=
numpy
.
array
([[
1
,
2
,
3
],
[
4
,
5
,
6
],
[
7
,
8
,
9
]],
dtype
=
'float32'
)
...
...
theano/tensor/tests/test_extra_ops.py
浏览文件 @
0ce1949f
...
...
@@ -548,6 +548,7 @@ class TestFillDiagonal(utt.InferShapeTester):
assert
out
[
2
,
2
,
2
]
==
val
assert
(
out
==
val
)
.
sum
()
==
min
(
a
.
shape
)
@attr
(
'slow'
)
def
test_gradient
(
self
):
utt
.
verify_grad
(
fill_diagonal
,
[
numpy
.
random
.
rand
(
5
,
8
),
numpy
.
random
.
rand
()],
...
...
theano/tensor/tests/test_subtensor.py
浏览文件 @
0ce1949f
...
...
@@ -1432,6 +1432,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
class
TestInferShape
(
utt
.
InferShapeTester
):
@attr
(
'slow'
)
def
test_infer_shape
(
self
):
# IncSubtensor
admat
=
dmatrix
()
...
...
theano/tests/test_tutorial.py
浏览文件 @
0ce1949f
...
...
@@ -5,6 +5,7 @@ import os
import
shutil
import
unittest
from
nose.plugins.attrib
import
attr
from
nose.plugins.skip
import
SkipTest
import
numpy
from
numpy
import
array
...
...
@@ -724,6 +725,7 @@ class T_examples(unittest.TestCase):
assert
numpy
.
allclose
(
v3
,
0.59044123
)
assert
numpy
.
allclose
(
v4
,
0.59044123
)
@attr
(
'slow'
)
def
test_examples_real_example
(
self
):
rng
=
numpy
.
random
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论