code: def test_perform(self):
      a = tensor.dmatrix()
      f = theano.function([a], self.op(a, n=10, axis=0))
      a = np.random.rand(8, 6)
      assert np.allclose(f(a), np.fft.fft(a, 10, 0))
  
file_path: Theano/theano/tensor/tests/test_fourier.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  from numpy.testing import dec
  import theano
  from theano import tensor
  from theano.tests import unittest_tools
  from theano.tensor.fourier import Fourier, fft
label_desc: Use image node_id 2 for calling the TestFourier obj's underlying member method code with example usage: obj.test_perform() without return types