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