Separate a complex-valued spectrogram with shape (.., 2) into its magnitude and phase.

functional_magphase(complex_tensor, power = 1)

Arguments

complex_tensor

(Tensor): Tensor shape of (.., complex=2)

power

(float): Power of the norm. (Default: 1.0)

Value

list(tensor, tensor): The magnitude and phase of the complex tensor