Function tvm::ffi::DTypeIsInt#
Defined in File dtype.h
Function Documentation#
-
bool tvm::ffi::DTypeIsInt(DLDataType dtype)#
Check whether a DLDataType is an integer type.
- Parameters:
dtype – The DLDataType to check.
- Returns:
True if dtype is a signed or unsigned integer type, false otherwise.