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

Method testRFFT

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

Source from the content-addressed store, hash-verified

131 signal.ifft3d)
132
133 def testRFFT(self):
134
135 def _to_expected(x):
136 return np.fft.rfft(x, n=x.shape[-1])
137
138 def _tf_fn(x):
139 return signal.rfft(x, fft_length=[x.shape[-1]])
140
141 self._VerifyFftMethod(INNER_DIMS_1D, np.real, _to_expected, _tf_fn)
142
143 def testRFFT2D(self):
144

Callers

nothing calls this directly

Calls 1

_VerifyFftMethodMethod · 0.95

Tested by

no test coverage detected