Create modules/__init__.py
Browse files
audiocraft/modules/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 2 |
+
# All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# This source code is licensed under the license found in the
|
| 5 |
+
# LICENSE file in the root directory of this source tree.
|
| 6 |
+
"""Modules used for building the models."""
|
| 7 |
+
|
| 8 |
+
# flake8: noqa
|
| 9 |
+
from .conv import (
|
| 10 |
+
NormConv1d,
|
| 11 |
+
NormConv2d,
|
| 12 |
+
NormConvTranspose1d,
|
| 13 |
+
NormConvTranspose2d,
|
| 14 |
+
StreamableConv1d,
|
| 15 |
+
StreamableConvTranspose1d,
|
| 16 |
+
pad_for_conv1d,
|
| 17 |
+
pad1d,
|
| 18 |
+
unpad1d,
|
| 19 |
+
)
|
| 20 |
+
from .lstm import StreamableLSTM
|
| 21 |
+
from .seanet import SEANetEncoder, SEANetDecoder
|
| 22 |
+
from .transformer import StreamingTransformer
|