dpnp.trace
- dpnp.trace(x1, offset=0, axis1=0, axis2=1, dtype=None, out=None)[source]
Return the sum along diagonals of the array.
For full documentation refer to
numpy.trace.Limitations
Input array is supported as
dpnp.ndarray. Parameters axis1, axis2, out and dtype are supported only with default values.