transform_complex_norm: Complex Norm

transform_complex_normR 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 (..., ).


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