Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
c918af6e
提交
c918af6e
authored
4月 12, 2017
作者:
amrithasuresh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated numpy as np
上级
7039dda4
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
30 行增加
和
30 行删除
+30
-30
test_neighbours.py
theano/tensor/nnet/tests/test_neighbours.py
+30
-30
没有找到文件。
theano/tensor/nnet/tests/test_neighbours.py
浏览文件 @
c918af6e
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
import
numpy
as
np
import
unittest
import
unittest
import
theano
import
theano
...
@@ -25,7 +25,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -25,7 +25,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
for
border
in
[
'valid'
,
'ignore_borders'
]:
for
border
in
[
'valid'
,
'ignore_borders'
]:
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
n
p
.
arange
(
np
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
(
pshape
)
neib_shape
=
T
.
as_tensor_variable
(
pshape
)
f
=
function
([],
f
=
function
([],
...
@@ -42,13 +42,13 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -42,13 +42,13 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
for
node
in
f
.
maker
.
fgraph
.
toposort
()])
for
node
in
f
.
maker
.
fgraph
.
toposort
()])
# print g()
# print g()
assert
n
umpy
.
allclose
(
images
.
get_value
(
borrow
=
True
),
g
())
assert
n
p
.
allclose
(
images
.
get_value
(
borrow
=
True
),
g
())
def
test_neibs_manual
(
self
):
def
test_neibs_manual
(
self
):
shape
=
(
2
,
3
,
4
,
4
)
shape
=
(
2
,
3
,
4
,
4
)
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
n
p
.
arange
(
np
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
((
2
,
2
))
neib_shape
=
T
.
as_tensor_variable
((
2
,
2
))
for
border
in
[
'valid'
,
'ignore_borders'
]:
for
border
in
[
'valid'
,
'ignore_borders'
]:
...
@@ -60,7 +60,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -60,7 +60,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
# print images.get_value(borrow=True)
# print images.get_value(borrow=True)
neibs
=
f
()
neibs
=
f
()
# print neibs
# print neibs
assert
n
umpy
.
allclose
(
neibs
,
[
assert
n
p
.
allclose
(
neibs
,
[
[
0
,
1
,
4
,
5
],
[
0
,
1
,
4
,
5
],
[
2
,
3
,
6
,
7
],
[
2
,
3
,
6
,
7
],
[
8
,
9
,
12
,
13
],
[
8
,
9
,
12
,
13
],
...
@@ -88,12 +88,12 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -88,12 +88,12 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
g
=
function
([],
neibs2images
(
neibs
,
neib_shape
,
images
.
shape
),
g
=
function
([],
neibs2images
(
neibs
,
neib_shape
,
images
.
shape
),
mode
=
self
.
mode
)
mode
=
self
.
mode
)
assert
n
umpy
.
allclose
(
images
.
get_value
(
borrow
=
True
),
g
())
assert
n
p
.
allclose
(
images
.
get_value
(
borrow
=
True
),
g
())
def
test_neibs_manual_step
(
self
):
def
test_neibs_manual_step
(
self
):
shape
=
(
2
,
3
,
5
,
5
)
shape
=
(
2
,
3
,
5
,
5
)
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
n
umpy
.
asarray
(
numpy
.
arange
(
numpy
.
prod
(
images
=
shared
(
n
p
.
asarray
(
np
.
arange
(
np
.
prod
(
shape
))
.
reshape
(
shape
),
dtype
=
dtype
))
shape
))
.
reshape
(
shape
),
dtype
=
dtype
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_step
=
T
.
as_tensor_variable
((
2
,
2
))
neib_step
=
T
.
as_tensor_variable
((
2
,
2
))
...
@@ -107,7 +107,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -107,7 +107,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
assert
self
.
op
in
[
type
(
node
.
op
)
assert
self
.
op
in
[
type
(
node
.
op
)
for
node
in
f
.
maker
.
fgraph
.
toposort
()]
for
node
in
f
.
maker
.
fgraph
.
toposort
()]
assert
n
umpy
.
allclose
(
neibs
,
[
assert
n
p
.
allclose
(
neibs
,
[
[
0
,
1
,
2
,
5
,
6
,
7
,
10
,
11
,
12
],
[
0
,
1
,
2
,
5
,
6
,
7
,
10
,
11
,
12
],
[
2
,
3
,
4
,
7
,
8
,
9
,
12
,
13
,
14
],
[
2
,
3
,
4
,
7
,
8
,
9
,
12
,
13
,
14
],
[
10
,
11
,
12
,
15
,
16
,
17
,
20
,
21
,
22
],
[
10
,
11
,
12
,
15
,
16
,
17
,
20
,
21
,
22
],
...
@@ -143,8 +143,8 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -143,8 +143,8 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_neibs_bad_shape
(
self
):
def
test_neibs_bad_shape
(
self
):
shape
=
(
2
,
3
,
10
,
10
)
shape
=
(
2
,
3
,
10
,
10
)
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
n
umpy
.
arange
(
images
=
shared
(
n
p
.
arange
(
n
umpy
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
n
p
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
for
neib_shape
in
[(
3
,
2
),
(
2
,
3
)]:
for
neib_shape
in
[(
3
,
2
),
(
2
,
3
)]:
neib_shape
=
T
.
as_tensor_variable
(
neib_shape
)
neib_shape
=
T
.
as_tensor_variable
(
neib_shape
)
...
@@ -212,11 +212,11 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -212,11 +212,11 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
n
umpy
.
asarray
(
numpy
.
arange
(
numpy
.
prod
(
images
=
shared
(
n
p
.
asarray
(
np
.
arange
(
np
.
prod
(
shape
))
.
reshape
(
shape
),
dtype
=
dtype
))
shape
))
.
reshape
(
shape
),
dtype
=
dtype
))
neib_shape
=
T
.
as_tensor_variable
(
neib_shape
)
neib_shape
=
T
.
as_tensor_variable
(
neib_shape
)
neib_step
=
T
.
as_tensor_variable
(
neib_step
)
neib_step
=
T
.
as_tensor_variable
(
neib_step
)
expected
=
n
umpy
.
asarray
(
expected
)
expected
=
n
p
.
asarray
(
expected
)
f
=
function
([],
images2neibs
(
images
,
neib_shape
,
neib_step
,
f
=
function
([],
images2neibs
(
images
,
neib_shape
,
neib_step
,
mode
=
"wrap_centered"
),
mode
=
"wrap_centered"
),
...
@@ -225,7 +225,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -225,7 +225,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
if
expected
.
size
>
1
:
if
expected
.
size
>
1
:
for
i
in
range
(
shape
[
0
]
*
shape
[
1
]):
for
i
in
range
(
shape
[
0
]
*
shape
[
1
]):
assert
n
umpy
.
allclose
(
assert
n
p
.
allclose
(
neibs
[
i
*
expected
.
shape
[
0
]:(
i
+
1
)
*
expected
.
shape
[
0
],
:],
neibs
[
i
*
expected
.
shape
[
0
]:(
i
+
1
)
*
expected
.
shape
[
0
],
:],
expected
+
25
*
i
),
"wrap_centered"
expected
+
25
*
i
),
"wrap_centered"
...
@@ -240,8 +240,8 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -240,8 +240,8 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
shape
=
(
2
,
3
,
10
,
10
)
shape
=
(
2
,
3
,
10
,
10
)
for
dtype
in
self
.
dtypes
:
for
dtype
in
self
.
dtypes
:
images
=
shared
(
n
umpy
.
arange
(
images
=
shared
(
n
p
.
arange
(
n
umpy
.
prod
(
shape
),
dtype
=
dtype
n
p
.
prod
(
shape
),
dtype
=
dtype
)
.
reshape
(
shape
))
)
.
reshape
(
shape
))
for
neib_shape
in
[(
3
,
2
),
(
2
,
3
)]:
for
neib_shape
in
[(
3
,
2
),
(
2
,
3
)]:
...
@@ -253,7 +253,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -253,7 +253,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
self
.
assertRaises
(
TypeError
,
f
)
self
.
assertRaises
(
TypeError
,
f
)
for
shape
in
[(
2
,
3
,
2
,
3
),
(
2
,
3
,
3
,
2
)]:
for
shape
in
[(
2
,
3
,
2
,
3
),
(
2
,
3
,
3
,
2
)]:
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
))
.
reshape
(
shape
))
images
=
shared
(
n
p
.
arange
(
np
.
prod
(
shape
))
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
f
=
function
([],
images2neibs
(
images
,
neib_shape
,
f
=
function
([],
images2neibs
(
images
,
neib_shape
,
mode
=
"wrap_centered"
),
mode
=
"wrap_centered"
),
...
@@ -262,7 +262,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -262,7 +262,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
# Test a valid shapes
# Test a valid shapes
shape
=
(
2
,
3
,
3
,
3
)
shape
=
(
2
,
3
,
3
,
3
)
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
))
.
reshape
(
shape
))
images
=
shared
(
n
p
.
arange
(
np
.
prod
(
shape
))
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
f
=
function
([],
f
=
function
([],
...
@@ -273,7 +273,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -273,7 +273,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_grad_wrap_centered
(
self
):
def
test_grad_wrap_centered
(
self
):
# It is not implemented for now. So test that we raise an error.
# It is not implemented for now. So test that we raise an error.
shape
=
(
2
,
3
,
6
,
6
)
shape
=
(
2
,
3
,
6
,
6
)
images_val
=
n
umpy
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
images_val
=
n
p
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
def
fn
(
images
):
def
fn
(
images
):
return
images2neibs
(
images
,
(
3
,
3
),
mode
=
'wrap_centered'
)
return
images2neibs
(
images
,
(
3
,
3
),
mode
=
'wrap_centered'
)
...
@@ -283,7 +283,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -283,7 +283,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_grad_valid
(
self
):
def
test_grad_valid
(
self
):
shape
=
(
2
,
3
,
6
,
6
)
shape
=
(
2
,
3
,
6
,
6
)
images_val
=
n
umpy
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
images_val
=
n
p
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
def
fn
(
images
):
def
fn
(
images
):
return
images2neibs
(
images
,
(
2
,
2
))
return
images2neibs
(
images
,
(
2
,
2
))
...
@@ -305,7 +305,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -305,7 +305,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_grad_ignore_border
(
self
):
def
test_grad_ignore_border
(
self
):
shape
=
(
2
,
3
,
5
,
5
)
shape
=
(
2
,
3
,
5
,
5
)
images_val
=
n
umpy
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
images_val
=
n
p
.
random
.
rand
(
*
shape
)
.
astype
(
'float32'
)
def
fn
(
images
):
def
fn
(
images
):
return
images2neibs
(
images
,
(
2
,
2
),
return
images2neibs
(
images
,
(
2
,
2
),
...
@@ -317,7 +317,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -317,7 +317,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_neibs2images_grad
(
self
):
def
test_neibs2images_grad
(
self
):
# say we had images of size (2, 3, 10, 10)
# say we had images of size (2, 3, 10, 10)
# then we extracted 2x2 neighbors on this, we get (2 * 3 * 5 * 5, 4)
# then we extracted 2x2 neighbors on this, we get (2 * 3 * 5 * 5, 4)
neibs_val
=
n
umpy
.
random
.
rand
(
150
,
4
)
neibs_val
=
n
p
.
random
.
rand
(
150
,
4
)
def
fn
(
neibs
):
def
fn
(
neibs
):
return
neibs2images
(
neibs
,
(
2
,
2
),
(
2
,
3
,
10
,
10
))
return
neibs2images
(
neibs
,
(
2
,
2
),
(
2
,
3
,
10
,
10
))
...
@@ -327,7 +327,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -327,7 +327,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_neibs_valid_with_inconsistent_borders
(
self
):
def
test_neibs_valid_with_inconsistent_borders
(
self
):
shape
=
(
2
,
3
,
5
,
5
)
shape
=
(
2
,
3
,
5
,
5
)
images
=
T
.
dtensor4
()
images
=
T
.
dtensor4
()
images_val
=
n
umpy
.
arange
(
numpy
.
prod
(
shape
),
images_val
=
n
p
.
arange
(
np
.
prod
(
shape
),
dtype
=
'float32'
)
.
reshape
(
shape
)
dtype
=
'float32'
)
.
reshape
(
shape
)
def
fn
(
images
):
def
fn
(
images
):
...
@@ -356,7 +356,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -356,7 +356,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
original_size
,
mode
=
mode
)
original_size
,
mode
=
mode
)
f
=
theano
.
function
([
patsRecovery
,
original_size
],
out
)
f
=
theano
.
function
([
patsRecovery
,
original_size
],
out
)
im_val
=
n
umpy
.
ones
((
1
,
3
,
320
,
320
),
dtype
=
numpy
.
float32
)
im_val
=
n
p
.
ones
((
1
,
3
,
320
,
320
),
dtype
=
np
.
float32
)
neibs
=
extractPatches
(
im_val
)
neibs
=
extractPatches
(
im_val
)
f
(
neibs
,
im_val
.
shape
)
f
(
neibs
,
im_val
.
shape
)
# Wrong number of dimensions
# Wrong number of dimensions
...
@@ -368,7 +368,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -368,7 +368,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
speed_neibs
(
self
):
def
speed_neibs
(
self
):
shape
=
(
100
,
40
,
18
,
18
)
shape
=
(
100
,
40
,
18
,
18
)
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
),
images
=
shared
(
n
p
.
arange
(
np
.
prod
(
shape
),
dtype
=
'float32'
)
.
reshape
(
shape
))
dtype
=
'float32'
)
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
...
@@ -380,7 +380,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -380,7 +380,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
speed_neibs_wrap_centered
(
self
):
def
speed_neibs_wrap_centered
(
self
):
shape
=
(
100
,
40
,
18
,
18
)
shape
=
(
100
,
40
,
18
,
18
)
images
=
shared
(
n
umpy
.
arange
(
numpy
.
prod
(
shape
),
images
=
shared
(
n
p
.
arange
(
np
.
prod
(
shape
),
dtype
=
'float32'
)
.
reshape
(
shape
))
dtype
=
'float32'
)
.
reshape
(
shape
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
neib_shape
=
T
.
as_tensor_variable
((
3
,
3
))
...
@@ -393,7 +393,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -393,7 +393,7 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
def
test_infer_shape
(
self
):
def
test_infer_shape
(
self
):
shape
=
(
100
,
40
,
6
,
3
)
shape
=
(
100
,
40
,
6
,
3
)
images
=
n
umpy
.
ones
(
shape
)
.
astype
(
'float32'
)
images
=
n
p
.
ones
(
shape
)
.
astype
(
'float32'
)
x
=
T
.
ftensor4
()
x
=
T
.
ftensor4
()
self
.
_compile_and_check
(
self
.
_compile_and_check
(
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
1
),
mode
=
'valid'
)],
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
1
),
mode
=
'valid'
)],
...
@@ -402,14 +402,14 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -402,14 +402,14 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
3
),
mode
=
'valid'
)],
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
3
),
mode
=
'valid'
)],
[
images
],
Images2Neibs
)
[
images
],
Images2Neibs
)
shape
=
(
100
,
40
,
5
,
4
)
shape
=
(
100
,
40
,
5
,
4
)
images
=
n
umpy
.
ones
(
shape
)
.
astype
(
'float32'
)
images
=
n
p
.
ones
(
shape
)
.
astype
(
'float32'
)
x
=
T
.
ftensor4
()
x
=
T
.
ftensor4
()
self
.
_compile_and_check
(
self
.
_compile_and_check
(
[
x
],
[
images2neibs
(
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
1
),
mode
=
'ignore_borders'
)],
x
,
neib_shape
=
(
2
,
1
),
mode
=
'ignore_borders'
)],
[
images
],
Images2Neibs
)
[
images
],
Images2Neibs
)
shape
=
(
100
,
40
,
5
,
3
)
shape
=
(
100
,
40
,
5
,
3
)
images
=
n
umpy
.
ones
(
shape
)
.
astype
(
'float32'
)
images
=
n
p
.
ones
(
shape
)
.
astype
(
'float32'
)
x
=
T
.
ftensor4
()
x
=
T
.
ftensor4
()
self
.
_compile_and_check
(
self
.
_compile_and_check
(
[
x
],
[
images2neibs
(
[
x
],
[
images2neibs
(
...
@@ -417,14 +417,14 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
...
@@ -417,14 +417,14 @@ class T_Images2Neibs(unittest_tools.InferShapeTester):
[
images
],
Images2Neibs
)
[
images
],
Images2Neibs
)
shape
=
(
100
,
40
,
6
,
7
)
shape
=
(
100
,
40
,
6
,
7
)
images
=
n
umpy
.
ones
(
shape
)
.
astype
(
'float32'
)
images
=
n
p
.
ones
(
shape
)
.
astype
(
'float32'
)
x
=
T
.
ftensor4
()
x
=
T
.
ftensor4
()
self
.
_compile_and_check
(
self
.
_compile_and_check
(
[
x
],
[
images2neibs
(
[
x
],
[
images2neibs
(
x
,
neib_shape
=
(
2
,
2
),
mode
=
'ignore_borders'
)],
x
,
neib_shape
=
(
2
,
2
),
mode
=
'ignore_borders'
)],
[
images
],
Images2Neibs
)
[
images
],
Images2Neibs
)
shape
=
(
100
,
40
,
5
,
10
)
shape
=
(
100
,
40
,
5
,
10
)
images
=
n
umpy
.
ones
(
shape
)
.
astype
(
'float32'
)
images
=
n
p
.
ones
(
shape
)
.
astype
(
'float32'
)
x
=
T
.
ftensor4
()
x
=
T
.
ftensor4
()
self
.
_compile_and_check
(
self
.
_compile_and_check
(
[
x
],
[
images2neibs
(
[
x
],
[
images2neibs
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论