Spaces:
Runtime error
Runtime error
Download audiocraft/modules/__init__.py from KennethCaple/MusicGen: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/spaces/KennethCaple/MusicGen/resolve/main/audiocraft/modules/__init__.py
- Command line
-
hf download hf://spaces/KennethCaple/MusicGen/audiocraft/modules/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/KennethCaple/MusicGen/resolve/main/audiocraft/modules/__init__.py
586 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """Modules used for building the models.""" | |
| # flake8: noqa | |
| from .conv import ( | |
| NormConv1d, | |
| NormConv2d, | |
| NormConvTranspose1d, | |
| NormConvTranspose2d, | |
| StreamableConv1d, | |
| StreamableConvTranspose1d, | |
| pad_for_conv1d, | |
| pad1d, | |
| unpad1d, | |
| ) | |
| from .lstm import StreamableLSTM | |
| from .seanet import SEANetEncoder, SEANetDecoder | |
| from .transformer import StreamingTransformer |