BUG fixes and more visualization changes

This commit is contained in:
Eren Golge
2018-02-08 05:57:43 -08:00
parent 3cafc6568c
commit 584c8fbf5e
4 changed files with 36 additions and 23 deletions
+1
View File
@@ -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)