code: def test_perform(self):
      a = dmatrix()
      f = pytensor.function([a], self.op(a, n=10, axis=0))
      a = np.random.random((8, 6))
      assert np.allclose(f(a), np.fft.fft(a, 10, 0))
  
file_path: pytensor/tests/tensor/test_fourier.py
imports: import numpy
  import pytest
  import pytensor
  from pytensor.tensor.fourier import Fourier, fft
  from pytensor.tensor.type import dmatrix, dvector, iscalar
  from tests import unittest_tools
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