Function tvm::ffi::DTypeIsBool

Function tvm::ffi::DTypeIsBool#

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.