From 464482512d7005d04fc5ca2329674081a0103f51 Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Tue, 7 Jul 2020 15:13:24 +0000 Subject: [PATCH] Add beta warning to sox-io --- torchaudio/backend/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/torchaudio/backend/utils.py b/torchaudio/backend/utils.py index cb53b3e02f..4712025964 100644 --- a/torchaudio/backend/utils.py +++ b/torchaudio/backend/utils.py @@ -46,6 +46,7 @@ def set_audio_backend(backend: Optional[str]) -> None: elif backend == 'sox': module = sox_backend elif backend == 'sox_io': + warnings.warn('"sox_io" backend is currently beta. Function signatures might change.') module = sox_io_backend elif backend == 'soundfile': module = soundfile_backend