warp.trace#

warp.trace(a: Matrix[Any, Any, Scalar]) Scalar#
  • Kernel

  • Differentiable

Return the trace of the matrix a.