norm#

Square of the magnitude of a complex number

Op matx::norm(Op t)#

Compute the squared magnitude of every element in the tensor

Parameters:

t – Tensor or operator input

Examples#

(tdd0 = norm(tiv0)).run(exec);