transform_complex_norm {torchaudio}R Documentation

Complex Norm

Description

Compute the norm of complex tensor input.

Usage

transform_complex_norm(power = 1)

Arguments

power

(float, optional): Power of the norm. (Default: to 1.0)

Details

forward param: complex_tensor (Tensor): Tensor shape of ⁠(..., complex=2)⁠.

Value

Tensor: norm of the input tensor, shape of ⁠(..., )⁠.


[Package torchaudio version 0.3.1 Index]