open3d.core.Device¶
-
class
open3d.core.
Device
¶ Device context specifying device type and device id.
-
__init__
(*args, **kwargs)¶ Overloaded function.
__init__(self: open3d.cpu.pybind.core.Device) -> None
__init__(self: open3d.cpu.pybind.core.Device, arg0: open3d::core::Device::DeviceType, arg1: int) -> None
__init__(self: open3d.cpu.pybind.core.Device, arg0: str, arg1: int) -> None
__init__(self: open3d.cpu.pybind.core.Device, arg0: str) -> None
-
get_id
(self: open3d.cpu.pybind.core.Device) → int¶
-
get_type
(self: open3d.cpu.pybind.core.Device) → open3d::core::Device::DeviceType¶
-
CPU
= DeviceType.CPU¶
-
CUDA
= DeviceType.CUDA¶
-