tensor.trace
Syntax
Get the trace of a tensor. The tensor trace is the sum of the diagonal elements.
f - tensor trace
t - tensor
tensor.total
type
9.0.177