Download DPTNet_eval/asteroid_test/utils/__init__.py from DeepLearning101/Speech-Separation: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/DeepLearning101/Speech-Separation/resolve/main/DPTNet_eval/asteroid_test/utils/__init__.py
- Command line
-
hf download hf://spaces/DeepLearning101/Speech-Separation/DPTNet_eval/asteroid_test/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DeepLearning101/Speech-Separation/resolve/main/DPTNet_eval/asteroid_test/utils/__init__.py
274 Bytes
| from .torch_utils import tensors_to_device, to_cuda | |
| # The functions above were all in asteroid/utils.py before refactoring into | |
| # asteroid/utils/*_utils.py files. They are imported for backward compatibility. | |
| __all__ = [ | |
| "tensors_to_device", | |
| "to_cuda", | |
| ] | |