Spaces:
Running
Running
File size: 491 Bytes
864affd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
def __getattr__(name: str):
import warnings
warnings.warn(
"Torchaudio's I/O functions now support par-call bakcend dispatch. "
"Importing backend implementation directly is no longer guaranteed to work. "
"Please use `backend` keyword with load/save/info function, instead of "
"calling the udnerlying implementation directly.",
stacklevel=2,
)
from . import _sox_io_backend
return getattr(_sox_io_backend, name)
|