MLIR
21.0.0git
|
#include "Dialect/Quant/IR/TypeDetail.h"
Classes | |
struct | KeyTy |
Public Member Functions | |
CalibratedQuantizedTypeStorage (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 CalibratedQuantizedTypeStorage * | construct (TypeStorageAllocator &allocator, const KeyTy &key) |
Construction. More... | |
static unsigned | hashKey (const KeyTy &key) |
Public Attributes | |
double | min |
double | max |
![]() | |
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 256 of file TypeDetail.h.
|
inline |
Definition at line 285 of file TypeDetail.h.
Referenced by construct().
|
inlinestatic |
Construction.
Definition at line 295 of file TypeDetail.h.
References mlir::StorageUniquer::StorageAllocator::allocate(), and CalibratedQuantizedTypeStorage().
|
inlinestatic |
Definition at line 300 of file TypeDetail.h.
References mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::getHashValue().
|
inline |
Definition at line 289 of file TypeDetail.h.
References mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::genericIsEqual().
double mlir::quant::detail::CalibratedQuantizedTypeStorage::max |
Definition at line 303 of file TypeDetail.h.
double mlir::quant::detail::CalibratedQuantizedTypeStorage::min |
Definition at line 302 of file TypeDetail.h.