code: def check_invalid(self, x_data, ind_data):
      x = chainer.Variable(x_data)
      ind = chainer.Variable(ind_data)
      with self.assertRaises(ValueError):
          functions.permutate(x, ind)
  
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 3 for calling the TestPermutateInvalidIndices obj's underlying member method code with example usage: obj.check_invalid(x_data, ind_data) without return types