code: def test_params(self):
      inputs_val = np.random.random((1, N)).astype(theano.config.floatX)
      inputs = theano.shared(inputs_val)
  
      self.assertRaises(ValueError, fft.rfft, inputs, norm=123)
  
      inputs_val = np.random.random((1, N // 2 + 1, 2)).astype(
          theano.config.floatX
      )
      inputs = theano.shared(inputs_val)
  
      self.assertRaises(ValueError, fft.irfft, inputs, norm=123)
      self.assertRaises(ValueError, fft.irfft, inputs, is_odd=123)
  
file_path: Theano/theano/tensor/tests/test_fft.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import unittest
  import theano
  from theano import tensor
  from theano.tests import unittest_tools
  from theano.tensor import fft
label_desc: Use image node_id 6 for calling the TestFFT obj's underlying member method code with example usage: obj.test_params() without return types