op_trace function

Return the sum along diagonals of the tensor.

  • Maintainer: Tomasz Kalinowski
  • License: MIT + file LICENSE
  • Last published: 2025-05-04