code: def _make_onehot_arrays(shape, dtype, value1, value2):
      a = numpy.zeros(shape, dtype)
      b = numpy.zeros(shape, dtype)
      indices = list(numpy.ndindex(*shape))
      a[indices[len(indices) // 2]] = value1
      b[indices[len(indices) // 2]] = value2
      return a, b
  
imports: import numpy
  import pytest
  import chainerx
  import chainerx.testing
label_desc: Use image node_id 1 for calling a global function with example usage: _make_onehot_arrays(shape, dtype, value1, value2) and returns: a,  b