Learn R Programming

torchaudio (version 0.3.1)

transform_frequencymasking: Frequency-domain Masking

Description

Apply masking to a spectrogram in the frequency domain.

Usage

transform_frequencymasking(freq_mask_param, iid_masks)

Value

not implemented yet.

Arguments

freq_mask_param

(int): maximum possible length of the mask. Indices uniformly sampled from [0, freq_mask_param).

iid_masks

(bool, optional): whether to apply different masks to each example/channel in the batch. (Default: FALSE) This option is applicable only when the input tensor is 4D.