DLDevice
\brief A Device for Tensor and operator.
structdevice_type
field[source]DLDeviceType device_type\brief The device type used in the device.
device_id
field[source]int32_t device_id\brief The device index. For vanilla CPU memory, pinned memory, or managed memory, this is set to 0.