From 135cb7ba5ec400b810ccf3c88a1f83cf7bc1cb1c Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Tue, 25 Jul 2023 07:20:53 -0700 Subject: [PATCH] Fix typo in melscale_fbank (#3487) Summary: Resolves https://github.com/pytorch/audio/issues/3486 Pull Request resolved: https://github.com/pytorch/audio/pull/3487 Differential Revision: D47724733 Pulled By: mthrok fbshipit-source-id: 26f5641a8271a7e50c4a33861d09b0c8274b29e4 --- torchaudio/functional/functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchaudio/functional/functional.py b/torchaudio/functional/functional.py index 2347e6d13a..a01b4a27df 100644 --- a/torchaudio/functional/functional.py +++ b/torchaudio/functional/functional.py @@ -549,7 +549,7 @@ def melscale_fbanks( meaning number of frequencies to highlight/apply to x the number of filterbanks. Each column is a filterbank so that assuming there is a matrix A of size (..., ``n_freqs``), the applied result would be - ``A * melscale_fbanks(A.size(-1), ...)``. + ``A @ melscale_fbanks(A.size(-1), ...)``. """