code: def test_dropout(backend_default):
      ng = NervanaObject.be
      ng.bsz = ng.batch_size = 15
  
      d_array2 = ng.array(
          np.random.randn(24).reshape((6, 4)), dtype=np.float32
      )
      d_error = ng.array(
          np.random.randn(24).reshape((6, 4)), dtype=np.float32
      )
      mask = ng.empty((6, 4))
  
      logger.info("FPROP")
      neon_logger.display(d_array2.get())
      # d_array2[:] = ng.dropout(0.5) * d_array2
      ng.make_binary_mask(mask, keepthresh=0.5)
      d_array2[:] = mask * d_array2
      neon_logger.display(d_array2.get())
  
      logger.info("BPROP")
      neon_logger.display(d_error.get())
      d_error[:] = (d_array2 != 0) * d_error
      neon_logger.display(d_error.get())
  
imports: import logging
  import numpy
  from neon import NervanaObject, logger
label_desc: Use image node_id 1 for calling a global function with example usage: test_dropout(backend_default) without return types