Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
752d5028
提交
752d5028
authored
2月 01, 2016
作者:
abergeron
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3961 from nouiz/test
Fix a test on GPU with mode=FAST_COMPILE
上级
9627228c
1d46dd1a
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
4 行增加
和
3 行删除
+4
-3
.travis.yml
.travis.yml
+1
-1
d3viz.py
theano/d3viz/d3viz.py
+1
-1
test_blas.py
theano/sandbox/cuda/tests/test_blas.py
+1
-0
test_printing.py
theano/tests/test_printing.py
+1
-1
没有找到文件。
.travis.yml
浏览文件 @
752d5028
...
@@ -35,7 +35,7 @@ install:
...
@@ -35,7 +35,7 @@ install:
env
:
env
:
-
PART="theano/sandbox theano/sparse theano/scalar theano/tensor/nnet theano/scan_module"
-
PART="theano/sandbox theano/sparse theano/scalar theano/tensor/nnet theano/scan_module"
-
PART="theano/tensor/tests/test_basic.py theano/tensor/signal theano/compile theano/gof theano/misc theano/tests theano/compat"
-
PART="theano/tensor/tests/test_basic.py theano/tensor/signal theano/compile theano/gof theano/misc theano/tests theano/compat"
-
PART="-e test_basic.py theano/tensor/tests"
-
PART="-e test_basic.py theano/tensor/tests
theano/d3viz
"
matrix
:
matrix
:
fast_finish
:
true
fast_finish
:
true
...
...
theano/d3viz/d3viz.py
浏览文件 @
752d5028
...
@@ -77,7 +77,7 @@ def d3viz(fct, outfile, copy_deps=True, *args, **kwargs):
...
@@ -77,7 +77,7 @@ def d3viz(fct, outfile, copy_deps=True, *args, **kwargs):
# Create DOT graph
# Create DOT graph
formatter
=
PyDotFormatter
(
*
args
,
**
kwargs
)
formatter
=
PyDotFormatter
(
*
args
,
**
kwargs
)
graph
=
formatter
(
fct
)
graph
=
formatter
(
fct
)
dot_graph
=
escape_quotes
(
graph
.
create_dot
(
))
.
replace
(
'
\n
'
,
''
)
.
replace
(
'
\r
'
,
''
)
dot_graph
=
escape_quotes
(
str
(
graph
.
create_dot
()
))
.
replace
(
'
\n
'
,
''
)
.
replace
(
'
\r
'
,
''
)
# Create output directory if not existing
# Create output directory if not existing
outdir
=
os
.
path
.
dirname
(
outfile
)
outdir
=
os
.
path
.
dirname
(
outfile
)
...
...
theano/sandbox/cuda/tests/test_blas.py
浏览文件 @
752d5028
...
@@ -45,6 +45,7 @@ def my_rand(*shape):
...
@@ -45,6 +45,7 @@ def my_rand(*shape):
class
TestBatchedDot
(
unittest_tools
.
InferShapeTester
):
class
TestBatchedDot
(
unittest_tools
.
InferShapeTester
):
mode
=
mode_with_gpu
def
test_batched_dot_correctness
(
self
):
def
test_batched_dot_correctness
(
self
):
...
...
theano/tests/test_printing.py
浏览文件 @
752d5028
...
@@ -55,7 +55,7 @@ def test_pydotprint_return_image():
...
@@ -55,7 +55,7 @@ def test_pydotprint_return_image():
x
=
tensor
.
dvector
()
x
=
tensor
.
dvector
()
ret
=
theano
.
printing
.
pydotprint
(
x
*
2
,
return_image
=
True
)
ret
=
theano
.
printing
.
pydotprint
(
x
*
2
,
return_image
=
True
)
assert
isinstance
(
ret
,
str
)
assert
isinstance
(
ret
,
(
str
,
bytes
)
)
def
test_pydotprint_variables
():
def
test_pydotprint_variables
():
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论