(self)
| 176 | self._VerifyFftMethod(INNER_DIMS_3D, np.real, _to_expected, _tf_fn) |
| 177 | |
| 178 | def testIRFFT(self): |
| 179 | |
| 180 | def _tf_fn(x): |
| 181 | return signal.irfft(x, fft_length=[2 * (x.shape[-1] - 1)]) |
| 182 | |
| 183 | self._VerifyFftMethod( |
| 184 | INNER_DIMS_1D, lambda x: np.fft.rfft(np.real(x), n=x.shape[-1]), |
| 185 | lambda x: np.fft.irfft(x, n=2 * (x.shape[-1] - 1)), _tf_fn) |
| 186 | |
| 187 | def testIRFFT2D(self): |
| 188 |
nothing calls this directly
no test coverage detected