Function tvm::ffi::DTypeIsFloat

Function tvm::ffi::DTypeIsFloat#

Function Documentation#

inline bool tvm::ffi::DTypeIsFloat(DLDataType dtype)#

Check whether a DLDataType is a floating-point type.

Parameters:

dtype – The DLDataType to check.

Returns:

True if dtype is a floating-point type, false otherwise.