transform_complex_norm: Complex Norm
Description
Compute the norm of complex tensor input.
Usage
transform_complex_norm(power = 1)
Value
Tensor: norm of the input tensor, shape of (..., )
.
Arguments
- power
(float, optional): Power of the norm. (Default: to 1.0
)
Details
forward param:
complex_tensor (Tensor): Tensor shape of (..., complex=2)
.