code: def test_training():
      x = nd.ones((10, 10))
      with record():
          y = nd.Dropout(x, p=0.5)
          assert not (y.asnumpy() == x.asnumpy()).all()
          with pause():
              y = nd.Dropout(x, p=0.5)
              assert (y.asnumpy() == x.asnumpy()).all()
  
imports: import functools
  import mxnet.ndarray
  from mxnet.ndarray import zeros_like
  from mxnet.autograd import *
  from mxnet.test_utils import *
  from common import xfail_when_nonstandard_decimal_separator
  from mxnet.test_utils import environment
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_training() without return types