code: def generate_inputs(self):
      x = numpy.random.uniform(-1, 1, self.shape).astype(self.dtype)
      indices = numpy.random.permutation(self.shape[self.axis]).astype(
          self.label_dtype
      )
      return x, indices
  
imports: import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import functions
  from chainer import testing
  from chainer.testing import attr
  from chainer.utils import force_array
label_desc: Use image node_id 2 for calling the TestPermutate obj's underlying member method code with example usage: obj.generate_inputs() and returns: x,  indices