Skip to main content

DispatchFftFn

Type Alias DispatchFftFn 

Source
pub type DispatchFftFn = fn(bool, &DeviceTensor, &DeviceTensor) -> TractResult<()>;
Expand description

Per-backend FFT kernel launcher: (inverse, input, output), both interleaved-complex f32 [lead.., N, 2] (N a supported power of two, transformed axis at rank-2). The inverse is UNNORMALIZED, matching core Fft (rustfft). The kernel reads N from the input shape.