Compute the norm of complex tensor input.

transform_complex_norm(power = 1)

Arguments

power

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

Value

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

Details

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