Skip to content

Commit

Permalink
Reenable tests that were failing due to CuDNN selection
Browse files Browse the repository at this point in the history
Fixed by apache#12804
  • Loading branch information
larroy committed Oct 26, 2018
1 parent ee5f699 commit 459a28f
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/python/unittest/test_gluon.py
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_deconv2d_16c():
in_chn_list = [1024, 512, 256, 128, 64, 32, 16]
out_chn_list = [512, 256, 128, 64, 32, 16, 3]
Expand All @@ -1585,7 +1584,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_batchnorm_16c():
chn_list = [16, 1024]
shape = np.random.randint(low=1, high=300, size=10)
Expand Down Expand Up @@ -1669,7 +1667,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_conv_reshape_conv():
class Net(gluon.HybridBlock):
def __init__(self, **kwargs):
Expand Down Expand Up @@ -1728,7 +1725,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_conv_reshape_conv():
class Net(gluon.HybridBlock):
def __init__(self, **kwargs):
Expand Down Expand Up @@ -1908,7 +1904,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, shape, **kwargs):
Expand All @@ -1931,7 +1926,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('Test failing, tracked by https://github.com/apache/incubator-mxnet/issues/12715')
def test_slice_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, slice, **kwargs):
Expand All @@ -1955,7 +1949,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_batchnorm_slice_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, slice, **kwargs):
Expand All @@ -1981,7 +1974,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_batchnorm_reshape_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, shape, **kwargs):
Expand All @@ -2007,7 +1999,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('Flaky test: https://github.com/apache/incubator-mxnet/issues/12767')
def test_slice_batchnorm_reshape_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, shape, slice, **kwargs):
Expand Down Expand Up @@ -2035,7 +2026,6 @@ def hybrid_forward(self, F, x):


@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_batchnorm_slice_batchnorm():
class Net(gluon.HybridBlock):
def __init__(self, shape, slice, **kwargs):
Expand All @@ -2062,7 +2052,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_pooling2d():
max_pooling = nn.MaxPool2D(strides=(2, 3), padding=(1, 1))
avg_pooling = nn.AvgPool2D(strides=(2, 2), padding=(1, 1))
Expand Down Expand Up @@ -2119,7 +2108,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_pooling2d_reshape_pooling2d():
max_pooling = nn.MaxPool2D(strides=(2, 2), padding=(1, 1))
avg_pooling = nn.AvgPool2D(strides=(2, 2), padding=(1, 1))
Expand Down Expand Up @@ -2190,7 +2178,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_pooling2d_reshape_pooling2d():
max_pooling = nn.MaxPool2D(strides=(2, 3), padding=(1, 1))
avg_pooling = nn.AvgPool2D(strides=(2, 2), padding=(1, 1))
Expand Down Expand Up @@ -2227,7 +2214,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_pooling2d_slice_pooling2d():
max_pooling = nn.MaxPool2D(strides=(2, 3), padding=(1, 1))
avg_pooling = nn.AvgPool2D(strides=(2, 2), padding=(1, 1))
Expand Down Expand Up @@ -2266,7 +2252,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_deconv():
class Net(gluon.HybridBlock):
def __init__(self, shape, **kwargs):
Expand All @@ -2285,7 +2270,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_deconv():
class Net(gluon.HybridBlock):
def __init__(self, slice, **kwargs):
Expand All @@ -2304,7 +2288,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_deconv_reshape_deconv():
class Net(gluon.HybridBlock):
def __init__(self, shape, **kwargs):
Expand All @@ -2327,7 +2310,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_deconv_slice_deconv():
class Net(gluon.HybridBlock):
def __init__(self, slice, **kwargs):
Expand All @@ -2350,7 +2332,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_reshape_deconv_slice_deconv():
class Net(gluon.HybridBlock):
def __init__(self, shape, slice, **kwargs):
Expand All @@ -2375,7 +2356,6 @@ def hybrid_forward(self, F, x):
check_layer_forward_withinput(net, x)

@with_seed()
@unittest.skip('skippping temporarily, tracked by https://github.com/apache/incubator-mxnet/issues/11164')
def test_slice_deconv_reshape_deconv():
class Net(gluon.HybridBlock):
def __init__(self, shape, slice, **kwargs):
Expand Down

0 comments on commit 459a28f

Please sign in to comment.