code: def _numpy_random_multinomial(n, pvals, size):
      pvals = pvals.astype(numpy.float64)
      return numpy.random.multinomial(n, pvals, size)
  
file_path: chainer/tests/chainer_tests/distributions_tests/test_one_hot_categorical.py
imports: import numpy
  from chainer import cuda
  from chainer import distributions
  from chainer import testing
label_desc: Use image node_id 2 for calling a global function with example usage: _numpy_random_multinomial(n, pvals, size) and returns: numpy