ttslearn.train_util.collate_fn_dnntts

ttslearn.train_util.collate_fn_dnntts(batch)[source]

Collate function for DNN-TTS.

Parameters

batch (list) – List of tuples of the form (inputs, targets).

Returns

Batch of inputs, targets, and lengths.

Return type

tuple