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
. Parametersaxis1
,axis2
,out
anddtype
are supported only with default values.