Time Series augmentation methods

How to apply “Magnitude Warping” data augmentation on time series dataset? Is there any sample pytorch code?
Also can we apply the image augmentation techniques like RandomGrayscale, GaussianBlur and Normalize to time series dataset? My dataset is Swell-Kw dataset.