Function tvm::ffi::DTypeAbbrev#
Defined in File dtype.h
Function Documentation#
-
inline std::string tvm::ffi::DTypeAbbrev(DLDataType dtype)#
Convert a DLDataType to a compact abbreviation for text formats.
- Parameters:
dtype – The DLDataType to convert.
- Returns:
The compact string, such as
i32,f16, orbf16.