Skip to content

[docs] Strange default window argument wording in MelSpectrogram #234

@vadimkantorov

Description

@vadimkantorov

https://pytorch.org/audio/transforms.html?highlight=melspectrogram#torchaudio.transforms.MelSpectrogram:

torchaudio.transforms.MelSpectrogram(sample_rate=16000, n_fft=400, win_length=None, hop_length=None, f_min=0.0, f_max=None, pad=0, n_mels=128, window_fn=<built-in method hann_window of type object>, wkwargs=None)

Very strange wording: <built-in method hann_window of type object>

If it's for torch.hann_window, having it verbatim is clearer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions