Extend utils.spectrogram with out , scratchpad and log keyword arguments
Extend utils.spectrogram with out , scratchpad and log keyword arguments: a task in LegoFlow-SWE (Harbor dataset). Currently, utils.spectrogram accepts only a single positional argument (the input signal array). This forces the function to allocate new memory for its output and working buffers on…
The task
Currently, `utils.spectrogram` accepts only a single positional argument (the input signal array). This forces the function to allocate new memory for its output and working buffers on every call, and it always returns linear‑scale magnitude values. In memory‑constrained environments (e.g., microcontrollers) and in…
Part of Lego-X/LegoFlow-SWE.