ttslearn.util
=============

General utility

.. automodule:: ttslearn.util


Example files
--------------

.. autosummary::
    :toctree: generated/
    :nosignatures:

    example_audio_file
    example_label_file
    example_qst_file

Mask
----
.. autosummary::
    :toctree: generated/
    :nosignatures:

    make_pad_mask
    make_non_pad_mask


Padding
--------

.. autosummary::
    :toctree: generated/
    :nosignatures:

    pad_1d
    pad_2d


Path
----

.. autosummary::
    :toctree: generated/
    :nosignatures:

    load_utt_list
    find_lab
    find_feats

Misc
--------

.. autosummary::
    :toctree: generated/
    :nosignatures:

    init_seed
    dynamic_import
    lab2phonemes
    optional_tqdm
    trim_silence
