open3d.core.Device#
- class open3d.core.Device#
Device context specifying device type and device id.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.core.Device) -> None
__init__(self: open3d.core.Device, arg0: open3d.core.Device.DeviceType, arg1: typing.SupportsInt) -> None
__init__(self: open3d.core.Device, arg0: str, arg1: typing.SupportsInt) -> None
__init__(self: open3d.core.Device, arg0: str) -> None
- get_id(self: open3d.core.Device) int #
- get_type(self: open3d.core.Device) open3d.core.Device.DeviceType #
- CPU = 0#
- CUDA = 1#
- SYCL = 2#