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