Function tvm::runtime::DLDeviceType2Str

Function tvm::runtime::DLDeviceType2Str#

Function Documentation#

inline const char *tvm::runtime::DLDeviceType2Str(int type)#

The name of DLDeviceType.

Parameters:

type – The device type.

Returns:

the device name.