from torchaudio import _extension  # noqa: F401
from torchaudio import (
    compliance,
    datasets,
    functional,
    models,
    pipelines,
    kaldi_io,
    utils,
    sox_effects,
    transforms,
)

from torchaudio.backend import (
    list_audio_backends,
    get_audio_backend,
    set_audio_backend,
)

try:
    from .version import __version__, git_version, abi, dtk, torch_version, dcu_version  # noqa: F401
    __dcu_version__ = dcu_version
except ImportError:
    pass

__all__ = [
    'compliance',
    'datasets',
    'functional',
    'models',
    'pipelines',
    'kaldi_io',
    'utils',
    'sox_effects',
    'transforms',
    'list_audio_backends',
    'get_audio_backend',
    'set_audio_backend',
]
