Class LDataType
Defined in File lite_mat.h
Class Documentation
-
class LDataType
Class representing the data type.
Note
Supported data type list:
LDataType::BOOL
LDataType::INT8
LDataType::UINT8
LDataType::INT16
LDataType::INT32
LDataType::UINT32
LDataType::INT64
LDataType::UINT64
LDataType::FLOAT16
LDataType::FLOAT32
LDataType::FLOAT64
LDataType::DOUBLE
Public Functions
-
inline LDataType()
Constructor.
-
~LDataType() = default
Destructor.
-
inline uint8_t SizeInBytes() const
Function to return the length of data type.
- Returns
Memory length of data type.