MCPcopy 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

mainFunction · 0.90
mainFunction · 0.90
__init__Method · 0.90

Calls 2

is_mlu_availableFunction · 0.85
itemsMethod · 0.80

Tested by 1

mainFunction · 0.72