MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testRFFT2D

Method testRFFT2D

tensorflow/compiler/tests/fft_test.py:143–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 self._VerifyFftMethod(INNER_DIMS_1D, np.real, _to_expected, _tf_fn)
142
143 def testRFFT2D(self):
144
145 def _tf_fn(x):
146 return signal.rfft2d(x, fft_length=[x.shape[-2], x.shape[-1]])
147
148 self._VerifyFftMethod(
149 INNER_DIMS_2D, np.real,
150 lambda x: np.fft.rfft2(x, s=[x.shape[-2], x.shape[-1]]), _tf_fn)
151
152 def testRFFT3D(self):
153

Callers

nothing calls this directly

Calls 1

_VerifyFftMethodMethod · 0.95

Tested by

no test coverage detected