Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VincentHancoder/SSGD
/ get_device
Function
get_device
mmdet/utils/util_distribution.py:67–74 ·
view source on GitHub ↗
Returns an available device, cpu, cuda or mlu.
()
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
3
main
Function · 0.90
main
Function · 0.90
__init__
Method · 0.90
Calls
2
is_mlu_available
Function · 0.85
items
Method · 0.80
Tested by
1
main
Function · 0.72