MCPcopy
hub / github.com/huggingface/transformers.js / rfft

Function rfft

packages/transformers/src/utils/tensor.js:1105–1108  ·  view source on GitHub ↗
(x, a)

Source from the content-addressed store, hash-verified

1103 * @returns {Promise<Tensor>} the output tensor.
1104 */
1105export async function rfft(x, a) {
1106 const op = await TensorOpRegistry.rfft;
1107 return await op({ x, a });
1108}
1109
1110/**
1111 * Returns the k largest elements of the given input tensor.

Callers 1

tensor_ops.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected