Mark test_dropout as flaky (#19553)
Mark test_dropout as flaky (#19553)

Two issues.

Issue 1: https://github.com/apache/incubator-mxnet/issues/14288

Issue 2:

[2020-11-17T06:58:34.678Z]         def check_passthrough(ratio, shape, cudnn_off=True):
[2020-11-17T06:58:34.678Z]             # test inference_mode forward and then backward
[2020-11-17T06:58:34.678Z]             a = mx.random.uniform(shape=shape)
[2020-11-17T06:58:34.678Z]             a.attach_grad()
[2020-11-17T06:58:34.678Z]             with mx.autograd.record(train_mode=False):
[2020-11-17T06:58:34.678Z]                 b = mx.nd.Dropout(a, ratio, cudnn_off=cudnn_off) # dropout acts as identity
[2020-11-17T06:58:34.678Z]             b.backward()
[2020-11-17T06:58:34.678Z]             assert_almost_equal(a.grad.asnumpy(), mx.nd.ones_like(b).asnumpy())
[2020-11-17T06:58:34.678Z]     
[2020-11-17T06:58:34.678Z]         shape = (100, 100)
[2020-11-17T06:58:34.678Z]         check_dropout_ratio(0.5, shape)
[2020-11-17T06:58:34.678Z]         check_dropout_ratio(0.0, shape)
[2020-11-17T06:58:34.678Z] >       check_dropout_ratio(1.0, shape)
[...]
[2020-11-17T06:58:34.678Z]         # Hopefully should be within ratio/2 %
[2020-11-17T06:58:34.678Z]         error = abs(output_sum - input_sum) / input_sum
[2020-11-17T06:58:34.678Z]         if ratio == 1.0:
[2020-11-17T06:58:34.678Z] >           assert output_zeroes == len(input)
[2020-11-17T06:58:34.678Z] E           assert 9999 == 10000
[2020-11-17T06:58:34.678Z] E             +9999
[2020-11-17T06:58:34.678Z] E             -10000
leezu/mxnet,tlby/mxnet,DickJC123/mxnet,tlby/mxnet,tlby/mxnet,szha/mxnet,tlby/mxnet,szha/mxnet,DickJC123/mxnet,szha/mxnet,apache/incubator-mxnet,tlby/mxnet,szha/mxnet,szha/mxnet,tlby/mxnet,leezu/mxnet,szha/mxnet,szha/mxnet,apache/incubator-mxnet,DickJC123/mxnet,apache/incubator-mxnet,leezu/mxnet,tlby/mxnet,tlby/mxnet,leezu/mxnet,szha/mxnet,leezu/mxnet,DickJC123/mxnet,leezu/mxnet,leezu/mxnet,leezu/mxnet,leezu/mxnet,tlby/mxnet,tlby/mxnet,szha/mxnet,apache/incubator-mxnet