|
MLIR 23.0.0git
|
#include "Dialect/Quant/IR/TypeDetail.h"
Classes | |
| struct | KeyTy |
Public Member Functions | |
| UniformQuantizedTypeStorage (const KeyTy &key) | |
| bool | operator== (const KeyTy &key) const |
| Public Member Functions inherited from mlir::quant::detail::QuantizedTypeStorage | |
| QuantizedTypeStorage (unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax) | |
| Public Member Functions inherited from mlir::TypeStorage | |
| const AbstractType & | getAbstractType () |
| Return the abstract type descriptor for this type. | |
Static Public Member Functions | |
| static UniformQuantizedTypeStorage * | construct (TypeStorageAllocator &allocator, const KeyTy &key) |
| Construction. | |
| static unsigned | hashKey (const KeyTy &key) |
Public Attributes | |
| double | scale |
| int64_t | zeroPoint |
| Public Attributes inherited from mlir::quant::detail::QuantizedTypeStorage | |
| unsigned | flags |
| Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue. | |
| Type | storageType |
| Type | expressedType |
| int64_t | storageTypeMin |
| int64_t | storageTypeMax |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::TypeStorage | |
| TypeStorage () | |
| This constructor is used by derived classes as part of the TypeUniquer. | |
| Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| BaseStorage ()=default | |
Definition at line 96 of file TypeDetail.h.
|
inline |
Definition at line 139 of file TypeDetail.h.
References mlir::quant::detail::QuantizedTypeStorage::expressedType, mlir::quant::detail::QuantizedTypeStorage::flags, mlir::quant::detail::QuantizedTypeStorage::QuantizedTypeStorage(), scale, mlir::quant::detail::QuantizedTypeStorage::storageType, mlir::quant::detail::QuantizedTypeStorage::storageTypeMax, mlir::quant::detail::QuantizedTypeStorage::storageTypeMin, and zeroPoint.
Referenced by construct().
|
inlinestatic |
Construction.
Definition at line 149 of file TypeDetail.h.
References mlir::StorageUniquer::StorageAllocator::allocate(), and UniformQuantizedTypeStorage().
|
inlinestatic |
Definition at line 155 of file TypeDetail.h.
References mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::getHashValue().
Definition at line 144 of file TypeDetail.h.
References mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::genericIsEqual().
| double mlir::quant::detail::UniformQuantizedTypeStorage::scale |
Definition at line 157 of file TypeDetail.h.
Referenced by UniformQuantizedTypeStorage().
| int64_t mlir::quant::detail::UniformQuantizedTypeStorage::zeroPoint |
Definition at line 158 of file TypeDetail.h.
Referenced by UniformQuantizedTypeStorage().