Shortcuts

mmengine.device.get_device

mmengine.device.get_device()[源代码]

Returns the currently existing device type.

返回

cuda | npu | mlu | mps | cpu.

返回类型

str

Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.