Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dask/dask
/ trace
Function
trace
dask/array/reductions.py:1479–1480 ·
view source on GitHub ↗
(a, offset=0, axis1=0, axis2=1, dtype=None)
Source
from the content-addressed store, hash-verified
1477
1478
@derived_from(np)
1479
def
trace(a, offset=0, axis1=0, axis2=1, dtype=None):
1480
return
diagonal(a, offset=offset, axis1=axis1, axis2=axis2).sum(-1, dtype=dtype)
1481
1482
1483
@derived_from(np)
Callers
1
trace
Method · 0.90
Calls
2
diagonal
Function · 0.90
sum
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…