vak.transforms.functional#
Functions
|
Add a "channel" dimension to a tensor. |
|
pad a 1d or 2d array so that it can be reshaped into consecutive windows of specified size |
|
standardize spectrogram by subtracting off mean and dividing by standard deviation. |
|
convert Numpy array to torch.FloatTensor. |
|
convert Numpy array to torch.LongTensor. |
|
return view of a 1d or 2d array as a batch of non-overlapping windows |