functional_magphase {torchaudio} | R Documentation |
Magnitude and Phase (functional)
Description
Separate a complex-valued spectrogram with shape (.., 2)
into its magnitude and phase.
Usage
functional_magphase(complex_tensor, power = 1)
Arguments
complex_tensor |
(Tensor): Tensor shape of |
power |
(float): Power of the norm. (Default: |
Value
list(tensor
, tensor
): The magnitude and phase of the complex tensor
[Package torchaudio version 0.3.1 Index]