Demo
Chapters
Core modules
Helpers
Advanced topics
Meta information
ttslearn.contrib.multispk_util.
collate_fn_ms_tacotron
Collate function for multi-speaker Tacotron.
batch (list) – List of tuples of the form (inputs, targets, spk_ids).
reduction_factor (int, optional) – Reduction factor. Defaults to 1.
Batch of inputs, input lengths, targets, target lengths, stop flags and spk ids.
tuple