code: def testIRFFT(self):
      def _tf_fn(x):
          return signal.irfft(x, fft_length=[2 * (x.shape[-1] - 1)])
  
      self._VerifyFftMethod(
          INNER_DIMS_1D,
          lambda x: np.fft.rfft(np.real(x), n=x.shape[-1]),
          lambda x: np.fft.irfft(x, n=2 * (x.shape[-1] - 1)),
          _tf_fn,
      )
  
imports: import itertools
  import numpy
  import scipy.signal
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops.signal import signal
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 13 for calling the FFTTest obj's underlying member method code with example usage: obj.testIRFFT() and returns: signal