code: def _repeat(arr, repeats, axis=None):
      # Workaround NumPy 1.9 issue.
      if isinstance(repeats, tuple) and len(repeats) == 1:
          repeats = repeats[0]
      return numpy.repeat(arr, repeats, axis)
  
file_path: chainer/tests/chainer_tests/functions_tests/array_tests/test_repeat.py
imports: import unittest
  import numpy
  from chainer import functions
  from chainer import testing
label_desc: Use image node_id 1 for calling a global function with example usage: _repeat(arr, repeats, axis) and returns: numpy