functional_magphase: Magnitude and Phase (functional)

functional_magphaseR 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 (.., complex=2)

power

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

Value

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


torchaudio documentation built on Feb. 16, 2023, 9:41 p.m.