Unverified Commit 87be9206 authored by moto's avatar moto Committed by GitHub
Browse files

Deprecate kaldi resample (#1533)

Deprecating `torchaudio.compliance.kaldi.resample_waveform`, which is exactly same as `torchaudio.functional.resample`.
parent 3bb3287f
......@@ -6,6 +6,7 @@ from torch import Tensor
import torchaudio
import torchaudio._internal.fft
from torchaudio._internal.module_utils import deprecated
__all__ = [
'get_mel_banks',
......@@ -752,6 +753,7 @@ def mfcc(
return feature
@deprecated("Please use `torchaudio.functional.resample`.", "0.10")
def resample_waveform(waveform: Tensor,
orig_freq: float,
new_freq: float,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment