Demo
Chapters
Core modules
Helpers
Advanced topics
Meta information
ttslearn.util.
make_pad_mask
Make mask for padding frames
lengths (list) – list of lengths
maxlen (int, optional) – maximum length. If None, use max value of lengths.
mask
torch.ByteTensor