mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
BUG fixes and more visualization changes
This commit is contained in:
1 parent
3cafc6568c
commit
584c8fbf5e
4 files changed
+36
-23
No files matched your search
@@ -3,6 +3,7 @@ import numpy as np
|
||||
|
||||
def pad_data(x, length):
|
||||
_pad = 0
|
||||
assert x.ndim == 1
|
||||
return np.pad(x, (0, length - x.shape[0]),
|
||||
mode='constant',
|
||||
constant_values=_pad)
|
||||
|
||||
Reference in new issue
Block a user