Disabled flaky cntk test
@@ -94,8 +94,6 @@ def test_no_grad():
batch_size=10, epochs=10)
-@pytest.mark.skipif((K.backend() == 'cntk'),
- reason='Flaky with CNTK')
def test_sgd():
sgd = optimizers.SGD(lr=0.01, momentum=0.9, nesterov=True)
_test_optimizer(sgd)
@@ -140,6 +138,8 @@ def test_clipnorm():
_test_optimizer(sgd)
+@pytest.mark.skipif((K.backend() == 'cntk'),
+ reason='Flaky with CNTK')
def test_clipvalue():
sgd = optimizers.SGD(lr=0.01, momentum=0.9, clipvalue=0.5)
_test_optimizer(sgd)
