code: def dropout(a, prob=0.5):
      a = a * numpy.random.binomial(1, prob, a.shape)
      # shape -> () crashes without
      # below line.
      return numpy.array(a)
  
imports: import chainer
  import numpy
  import pytest
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 2 for calling a global function with example usage: dropout(a, prob) and returns: numpy