DLDevice# struct DLDevice# A Device for Tensor and operator. Public Members DLDeviceType device_type# The device type used in the device. int32_t device_id# The device index. For vanilla CPU memory, pinned memory, or managed memory, this is set to 0.