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

Method _to_expected

tensorflow/compiler/tests/fft_test.py:135–136  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

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]])

Callers

nothing calls this directly

Calls 1

rfftMethod · 0.80

Tested by

no test coverage detected