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