Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FoundationVision/ByteTrack
/ tensor_to_numpy
Function
tensor_to_numpy
tutorials/motr/eval.py:129–130 ·
view source on GitHub ↗
(tensor: torch.Tensor)
Source
from the content-addressed store, hash-verified
127
128
129
def
tensor_to_numpy(tensor: torch.Tensor) -> np.ndarray:
130
return
tensor.detach().cpu().numpy()
131
132
133
class
Track(object):
Callers
1
detect
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected