Spaces:
Running
on
Zero
Running
on
Zero
# Copyright (c) 2023 Amphion. | |
# | |
# This source code is licensed under the MIT license found in the | |
# LICENSE file in the root directory of this source tree. | |
# This source file is copied from https://github.com/facebookresearch/encodec | |
# 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. | |
"""Torch modules.""" | |
# flake8: noqa | |
from .conv import ( | |
pad1d, | |
unpad1d, | |
NormConv1d, | |
NormConvTranspose1d, | |
NormConv2d, | |
NormConvTranspose2d, | |
SConv1d, | |
SConvTranspose1d, | |
) | |
from .lstm import SLSTM | |
from .seanet import SEANetEncoder, SEANetDecoder | |