nvidia.dali.fn.spectrogram — NVIDIA DALI (original) (raw)

nvidia.dali.fn.spectrogram(__input, /, *, bytes_per_sample_hint=[0], center_windows=True, layout='ft', nfft=None, power=2, preserve=False, reflect_padding=True, window_fn=[], window_length=512, window_step=256, device=None, name=None)#

Produces a spectrogram from a 1D signal (for example, audio).

Input data is expected to be one channel (shape being (nsamples,), (nsamples, 1), or(1, nsamples)) of type float32.

Supported backends

Parameters:

__input (TensorList) – Input to the operator.

Keyword Arguments: