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

Method rfft

tensorflow/python/kernel_tests/py_func_test.py:125–126  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

123 x = constant_op.constant([1., 2., 3., 4.], dtypes.float32)
124
125 def rfft(x):
126 return np.fft.rfft(x).astype(np.complex64)
127
128 y = self.evaluate(script_ops.py_func(rfft, [x], dtypes.complex64))
129 self.assertAllClose(y, np.fft.rfft([1., 2., 3., 4.]))

Callers 8

testRFFTMethod · 0.80
_np_stftMethod · 0.80
stftFunction · 0.80
dctFunction · 0.80
compare_1k.pyFile · 0.80
_to_expectedMethod · 0.80
_tf_fnMethod · 0.80
testIRFFTMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected