code: def test_params(self):
      inputs_val = np.random.random((1, N)).astype("float32")
      inputs = theano.shared(inputs_val)
  
      self.assertRaises(
          ValueError, theano.gpuarray.fft.curfft, inputs, norm=123
      )
  
      inputs_val = np.random.random((1, N // 2 + 1, 2)).astype(
          "float32"
      )
      inputs = theano.shared(inputs_val)
  
      self.assertRaises(
          ValueError, theano.gpuarray.fft.cuirfft, inputs, norm=123
      )
      self.assertRaises(
          ValueError, theano.gpuarray.fft.cuirfft, inputs, is_odd=123
      )
  
file_path: Theano/theano/gpuarray/tests/test_fft.py
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import numpy
  import theano
  import theano.tensor
  from theano.tests import unittest_tools
  import theano.gpuarray.fft
  from .config import mode_with_gpu
  from nose.plugins.skip import SkipTest
  from theano.gpuarray.fft import pygpu_available, skcuda_available, pycuda_available
label_desc: Use image node_id 8 for calling the TestFFT obj's underlying member method code with example usage: obj.test_params() without return types