code: def testRFFT2D(self):
      def _tf_fn(x):
          return signal.rfft2d(x, fft_length=[x.shape[-2], x.shape[-1]])
  
      self._VerifyFftMethod(
          INNER_DIMS_2D,
          np.real,
          lambda x: np.fft.rfft2(x, s=[x.shape[-2], x.shape[-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 10 for calling the FFTTest obj's underlying member method code with example usage: obj.testRFFT2D() and returns: signal