Function TVMFFIDLDeviceFromIntPair#
Defined in File c_api.h
Function Documentation#
-
inline DLDevice TVMFFIDLDeviceFromIntPair(int32_t device_type, int32_t device_id)#
Create a DLDevice from a device type and device id.
- Parameters:
device_type – The device type.
device_id – The device id.
- Returns:
The DLDevice.