Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
e29d6ce4
提交
e29d6ce4
authored
3月 09, 2016
作者:
sentient07
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added the ingored errors to setup.cfg file
上级
4fbf5546
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
14 行增加
和
25 行删除
+14
-25
setup.cfg
setup.cfg
+1
-1
test_misc.py
theano/compile/tests/test_misc.py
+0
-1
test_abstractconv.py
theano/sandbox/cuda/tests/test_abstractconv.py
+1
-0
test_utils.py
theano/sparse/tests/test_utils.py
+4
-5
blas_c.py
theano/tensor/blas_c.py
+0
-1
record.py
theano/tests/record.py
+1
-0
test_2nd_order_grads.py
theano/tests/test_2nd_order_grads.py
+0
-1
test_flake8.py
theano/tests/test_flake8.py
+7
-15
test_record.py
theano/tests/test_record.py
+0
-1
没有找到文件。
setup.cfg
浏览文件 @
e29d6ce4
...
@@ -3,4 +3,4 @@ match=^test
...
@@ -3,4 +3,4 @@ match=^test
nocapture=1
nocapture=1
[flake8]
[flake8]
ignore=E501,E123,E133
ignore=E501,E123,E133
,FI12,FI14,FI15,FI50,FI51,FI53
theano/compile/tests/test_misc.py
浏览文件 @
e29d6ce4
...
@@ -2,7 +2,6 @@ from __future__ import absolute_import, print_function, division
...
@@ -2,7 +2,6 @@ from __future__ import absolute_import, print_function, division
import
numpy
import
numpy
import
unittest
import
unittest
import
numpy
,
theano
,
unittest
from
theano.compile.pfunc
import
pfunc
from
theano.compile.pfunc
import
pfunc
from
theano.compile.sharedvalue
import
shared
from
theano.compile.sharedvalue
import
shared
...
...
theano/sandbox/cuda/tests/test_abstractconv.py
浏览文件 @
e29d6ce4
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
import
theano
import
theano
from
theano.tensor.nnet.tests
import
test_abstract_conv
from
theano.tensor.nnet.tests
import
test_abstract_conv
from
theano.sandbox.cuda
import
float32_shared_constructor
as
gpu_shared
from
theano.sandbox.cuda
import
float32_shared_constructor
as
gpu_shared
...
...
theano/sparse/tests/test_utils.py
浏览文件 @
e29d6ce4
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
from
theano.sparse.utils
import
hash_from_sparse
from
nose.plugins.skip
import
SkipTest
from
theano.sparse.tests.test_basic
import
as_sparse_format
import
numpy
import
theano.sparse
import
theano.sparse
if
not
theano
.
sparse
.
enable_sparse
:
if
not
theano
.
sparse
.
enable_sparse
:
raise
SkipTest
(
'Optional package sparse disabled'
)
raise
SkipTest
(
'Optional package sparse disabled'
)
from
theano.sparse.utils
import
hash_from_sparse
from
nose.plugins.skip
import
SkipTest
from
theano.sparse.tests.test_basic
import
as_sparse_format
import
numpy
...
...
theano/tensor/blas_c.py
浏览文件 @
e29d6ce4
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
from
theano
import
config
from
theano
import
config
from
theano.tensor.opt
import
in2out
from
theano.tensor.opt
import
in2out
...
...
theano/tests/record.py
浏览文件 @
e29d6ce4
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
from
theano.compile
import
Mode
import
theano
import
theano
from
theano.printing
import
hex_digest
from
theano.printing
import
hex_digest
...
...
theano/tests/test_2nd_order_grads.py
浏览文件 @
e29d6ce4
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
Test for jacobian/hessian functions in Theano
Test for jacobian/hessian functions in Theano
"""
"""
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
unittest
from
six.moves
import
xrange
from
six.moves
import
xrange
from
theano.tests
import
unittest_tools
as
utt
from
theano.tests
import
unittest_tools
as
utt
import
theano
import
theano
...
...
theano/tests/test_flake8.py
浏览文件 @
e29d6ce4
...
@@ -22,6 +22,13 @@ __contact__ = "Saizheng Zhang <saizhenglisa..at..gmail.com>"
...
@@ -22,6 +22,13 @@ __contact__ = "Saizheng Zhang <saizhenglisa..at..gmail.com>"
# too complex to do with the C code
# too complex to do with the C code
# - "closing bracket does not match indentation of opening bracket's line"
# - "closing bracket does not match indentation of opening bracket's line"
# ignored by default by pep8
# ignored by default by pep8
# - "'with_statement' missing"
# - "'unicode_literals' missing"
# - "'generator_stop' missing"
# - "'division' present"
# - "'absolute_import' present"
# - "'print_function' present"
# Redundant error code generated by flake8-future-import module
ignore
=
(
'E501'
,
'E123'
,
'E133'
,
'FI12'
,
'FI14'
,
'FI15'
,
'FI50'
,
'FI51'
,
'FI53'
)
ignore
=
(
'E501'
,
'E123'
,
'E133'
,
'FI12'
,
'FI14'
,
'FI15'
,
'FI50'
,
'FI51'
,
'FI53'
)
whitelist_flake8
=
[
whitelist_flake8
=
[
...
@@ -32,15 +39,6 @@ whitelist_flake8 = [
...
@@ -32,15 +39,6 @@ whitelist_flake8 = [
"compile/profiling.py"
,
"compile/profiling.py"
,
"compile/sandbox/__init__.py"
,
"compile/sandbox/__init__.py"
,
"compile/tests/__init__.py"
,
"compile/tests/__init__.py"
,
"compile/tests/test_builders.py"
,
"compile/tests/test_misc.py"
,
"compile/tests/test_monitormode.py"
,
"compile/tests/test_function_module.py"
,
"compile/tests/test_shared.py"
,
"compile/tests/test_ops.py"
,
"compile/tests/test_pfunc.py"
,
"compile/tests/test_debugmode.py"
,
"compile/tests/test_profiling.py"
,
"typed_list/__init__.py"
,
"typed_list/__init__.py"
,
"typed_list/tests/__init__.py"
,
"typed_list/tests/__init__.py"
,
"tensor/__init__.py"
,
"tensor/__init__.py"
,
...
@@ -152,12 +150,6 @@ whitelist_flake8 = [
...
@@ -152,12 +150,6 @@ whitelist_flake8 = [
"scan_module/tests/test_scan_opt.py"
,
"scan_module/tests/test_scan_opt.py"
,
"misc/__init__.py"
,
"misc/__init__.py"
,
"misc/tests/__init__.py"
,
"misc/tests/__init__.py"
,
"misc/tests/test_may_share_memory.py"
,
"misc/tests/test_pycuda_theano_simple.py"
,
"misc/tests/test_gnumpy_utils.py"
,
"misc/tests/test_pycuda_utils.py"
,
"misc/tests/test_cudamat_utils.py"
,
"misc/tests/test_pycuda_example.py"
,
"misc/hooks/reindent.py"
,
"misc/hooks/reindent.py"
,
"misc/hooks/check_whitespace.py"
,
"misc/hooks/check_whitespace.py"
,
"sparse/__init__.py"
,
"sparse/__init__.py"
,
...
...
theano/tests/test_record.py
浏览文件 @
e29d6ce4
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
from
theano.tests.record
import
*
from
theano.tests.record
import
Record
,
MismatchError
,
RecordMode
from
theano.tests.record
import
Record
,
MismatchError
,
RecordMode
from
theano
import
function
from
theano
import
function
from
six.moves
import
xrange
,
StringIO
from
six.moves
import
xrange
,
StringIO
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论