# Device Source: https://www.tensorplay.cn/docs/generated/tensorplay.Device.html ```python class tensorplay.Device ``` ```python is_cpu(self: tensorplay._C.Device) → bool ``` ```python is_cuda(self: tensorplay._C.Device) → bool ``` ```python is_meta(self: tensorplay._C.Device) → bool ``` ```python is_vulkan(self: tensorplay._C.Device) → bool ```