torchaudio.transforms — Torchaudio 0.10.0 documentation
pytorch.org › audio › stableTurn a tensor from the power/amplitude scale to the decibel scale. This output depends on the maximum value in the input tensor, and so may return different values for an audio clip split into snippets vs. a a full clip. Parameters. stype (str, optional) – scale of input tensor ('power' or 'magnitude'). The power being the elementwise square ...
torchvision.transforms — Torchvision 0.8.1 documentation
pytorch.org › vision › 0scale (tuple, optional) – scaling factor interval, e.g (a, b), then scale is randomly sampled from the range a <= scale <= b. Will keep original scale by default. shear (sequence or float or int, optional) – Range of degrees to select from. If shear is a number, a shear parallel to the x axis in the range (-shear, +shear) will be applied.