Compute delta coefficients of a tensor, usually a spectrogram.

transform_compute_deltas(win_length = 5, mode = "replicate")

Arguments

win_length

(int): The window length used for computing delta. (Default: 5)

mode

(str): Mode parameter passed to padding. (Default: 'replicate')

Value

Tensor: Tensor of deltas of dimension (..., freq, time).

Details

forward param: specgram (Tensor): Tensor of audio of dimension (..., freq, time).

See functional_compute_deltas for more details.