code: def shaped_arange(shape, dtype):
      size = total_size(shape)
      a = numpy.arange(1, size + 1).reshape(shape)
      dtype = numpy.dtype(dtype)
      if dtype == numpy.bool_:
          return a % 2 == 0
      return a.astype(dtype, copy=False)
  
file_path: chainer/tests/chainerx_tests/array_utils.py
imports: import functools
  import operator
  import numpy
  import chainerx
label_desc: Use image node_id 3 for calling a global function with example usage: shaped_arange(shape, dtype) and returns: a, unknown